IncomingSocketProcessorCreator
public protocol IncomingSocketProcessorCreator
Implementations of the IncomingSocketProcessorCreator
protocol create
an implementation of the IncomingSocketProcessor
protocol to process
the data from a new incoming socket.
-
Undocumented
Declaration
Swift
var name: String { get }
-
Create an instance of the
IncomingSocketProcessor
s for use with new incoming sockets.Declaration
Swift
func createIncomingSocketProcessor(socket: Socket, using: ServerDelegate) -> IncomingSocketProcessor
Parameters
socket
The new incoming socket.
using
The
ServerDelegate
the HTTPServer is working with, which should be used by the createdIncomingSocketProcessor
, if it works withServerDelegate
s.