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
IncomingSocketProcessors for use with new incoming sockets.Declaration
Swift
func createIncomingSocketProcessor(socket: Socket, using: ServerDelegate) -> IncomingSocketProcessorParameters
socketThe new incoming socket.
usingThe
ServerDelegatethe HTTPServer is working with, which should be used by the createdIncomingSocketProcessor, if it works withServerDelegates.
View on GitHub
IncomingSocketProcessorCreator Protocol Reference