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
Socket | incomingConnection |
The incoming connection to process. |
bool | secure |
True to use SSL, false otherwise. |