Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void HandleConnection(Socket, bool)

Declaration

public void HandleConnection(
    Socket incomingConnection,
    bool secure
)

Summary

Handles an incoming connection. This function can be used to let the server handle a TCP connection that was received by some other component outside the HttpServer class. This function may or may not return immediately; some requests may, theoretically, be handled completely synchronously if all the data has already been received and buffered by the OS.

Parameters

SocketincomingConnection The incoming connection to process.
boolsecure True to use SSL, false otherwise.