When detaching a socket from either the HttpServer or the HttpClient due to a HTTP connection upgrade there might be unparsed data already read from the socket. This unparsed data together with the detached socket is returned in an instance of this class.

Properties

socket Socket
read-only

unparsedData List<int>
read-only

Constructors

DetachedSocket()