OhttpConfig

public struct OhttpConfig
extension OhttpConfig: Sendable
extension OhttpConfig: Equatable, Hashable

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)
  • Declaration

    Swift

    public static func == (lhs: OhttpConfig, rhs: OhttpConfig) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)