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
data
The data read from the socket.
from
The socket where the data is read from.
-
The socket did send some data.
Declaration
Swift
override public func didWrite(data: Data?, by: RawTCPSocketProtocol)
Parameters
data
The data which have been sent to remote (acknowledged). Note this may not be available since the data may be released to save memory.
by
The socket where the data is sent out.
-
Response to the
AdapterSocket
on the other side of theTunnel
which has succefully connected to the remote server.Declaration
Swift
public override func respondTo(adapter: AdapterSocket)
Parameters
adapter
The
AdapterSocket
.