OhttpConfig

public struct OhttpConfig : Equatable, Hashable
extension OhttpConfig: Sendable

Configuration for an OHTTP channel

  • The relay URL that will proxy requests

    Declaration

    Swift

    public var relayUrl: String
  • The gateway host that provides encryption keys and decrypts requests

    Declaration

    Swift

    public var gatewayHost: String
  • Declaration

    Swift

    public init(
        /**
         * The relay URL that will proxy requests
         */relayUrl: String, 
        /**
         * The gateway host that provides encryption keys and decrypts requests
         */gatewayHost: String)