Property | Type | Description | |
---|---|---|---|
HttpMethod | string | ||
HttpProtocolVersion | string | ||
InputStream | ChunkedMemoryStream | ||
Limit | int | ||
OutputStream | ChunkedMemoryStream | ||
RawUrl | string |
Property | Type | Description | |
---|---|---|---|
AddContentLength | int | ||
AddContentType | int | ||
AddServerAndDate | int | ||
ForRouteWithAuth | void | ||
HttpSocketContext | System | ||
IRequestContext | string | ||
ReadMethod | string | ||
ReadProtocol | string | ||
ReadUntil | int | ||
ReadUrl | RouteMatch? | ||
Return | bool | ||
ReturnError | bool | ||
ReturnError | void | ||
Serialize | int | ||
SetupResponse | void |
Method | Description | |
---|---|---|
AddHeader ( string type, string value ) : void | ||
CopyFrom ( |
||
GetRequestHeader ( string name ) : string | ||
HttpSocketContext ( string prefix, int limit, |
||
Parse ( Socket socket, |
||
Reset ( ) : void |
Method | Description | |
---|---|---|
AddContentLength ( long len, int offset ) : int | ||
AddContentType ( string type, int offset ) : int | ||
AddServerAndDate ( int offset ) : int | ||
ForRouteWithAuth ( |
||
HttpSocketContext ( ) : System | ||
IRequestContext ( string name ) : string | ||
ReadMethod ( int len, byte buf ) : string | ||
ReadProtocol ( int end ) : string | ||
ReadUntil ( Socket socket, byte match, int position ) : int | ||
ReadUrl ( int rowEnd, |
||
Return ( Stream stream, Socket socket, bool forceFlush ) : bool | ||
ReturnError ( Socket socket, int status ) : bool | ||
ReturnError ( Socket socket, int status, string message, bool withHeaders ) : void | ||
Serialize ( long value, byte target, int offset ) : int | ||
SetupResponse ( byte response, string method ) : void |
public AddHeader ( string type, string value ) : void | ||
type | string | |
value | string | |
return | void |
public CopyFrom ( |
||
other | ||
return | void |
public GetRequestHeader ( string name ) : string | ||
name | string | |
return | string |
public HttpSocketContext ( string prefix, int limit, |
||
prefix | string | |
limit | int | |
routes | ||
return | System |
public Parse ( Socket socket, |
||
socket | Socket | |
match | ||
route | ||
return | bool |