Свойство | Type | Description | |
---|---|---|---|
HttpMethod | string | ||
HttpProtocolVersion | string | ||
InputStream | ChunkedMemoryStream | ||
Limit | int | ||
OutputStream | ChunkedMemoryStream | ||
RawUrl | string |
Свойство | 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 |
Méthode | Description | |
---|---|---|
AddHeader ( string type, string value ) : void | ||
CopyFrom ( |
||
GetRequestHeader ( string name ) : string | ||
HttpSocketContext ( string prefix, int limit, |
||
Parse ( Socket socket, |
||
Reset ( ) : void |
Méthode | 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 | |
Résultat | void |
public CopyFrom ( |
||
other | ||
Résultat | void |
public GetRequestHeader ( string name ) : string | ||
name | string | |
Résultat | string |
public HttpSocketContext ( string prefix, int limit, |
||
prefix | string | |
limit | int | |
routes | ||
Résultat | System |
public Parse ( Socket socket, |
||
socket | Socket | |
match | ||
route | ||
Résultat | bool |
public ChunkedMemoryStream OutputStream | ||
Résultat | ChunkedMemoryStream |