HTTPProxySocket
Undocumented
-
Undocumented
See more -
Undocumented
See more -
The remote host to connect to.
Declaration
Swift
public var destinationHost: String! -
The remote port to connect to.
Declaration
Swift
public var destinationPort: Int! -
Undocumented
-
Undocumented
-
Undocumented
-
Begin reading and processing data from the socket.
Declaration
Swift
override public func openSocket() -
Declaration
Swift
override public func readData() -
The socket did read some data.
Declaration
Swift
override public func didRead(data: Data, from: RawTCPSocketProtocol)Parameters
dataThe data read from the socket.
fromThe socket where the data is read from.
-
The socket did send some data.
Declaration
Swift
override public func didWrite(data: Data?, by: RawTCPSocketProtocol)Parameters
dataThe data which have been sent to remote (acknowledged). Note this may not be available since the data may be released to save memory.
byThe socket where the data is sent out.
-
Response to the
AdapterSocketon the other side of theTunnelwhich has succefully connected to the remote server.Declaration
Swift
public override func respondTo(adapter: AdapterSocket)Parameters
adapterThe
AdapterSocket.
View on GitHub
HTTPProxySocket Class Reference