HTTPAdapter
public class HTTPAdapter: AdapterSocket
This adapter connects to remote host through a HTTP proxy.
-
Undocumented
See moreDeclaration
Swift
public class HTTPAdapter: AdapterSocket -
The host domain of the HTTP proxy.
Declaration
Swift
let serverHost: String -
The port of the HTTP proxy.
Declaration
Swift
let serverPort: Int -
The authentication information for the HTTP proxy.
Declaration
Swift
let auth: HTTPAuthentication? -
Whether the connection to the proxy should be secured or not.
Declaration
Swift
var secured: Bool -
Undocumented
Declaration
Swift
public class HTTPAdapter: AdapterSocket -
Undocumented
Declaration
Swift
public class HTTPAdapter: AdapterSocket -
Declaration
Swift
override public func openSocketWith(session: ConnectSession)Parameters
session -
Declaration
Swift
override public func didConnectWith(socket: RawTCPSocketProtocol)Parameters
socket -
Declaration
Swift
override public func didRead(data: Data, from socket: RawTCPSocketProtocol)Parameters
datafrom -
Declaration
Swift
override public func didWrite(data: Data?, by socket: RawTCPSocketProtocol)Parameters
databy
View on GitHub
HTTPAdapter Class Reference