프로퍼티 | 타입 | 설명 | |
---|---|---|---|
HttpMethod | string | ||
HttpProtocolVersion | string | ||
InputStream | ChunkedMemoryStream | ||
Limit | int | ||
OutputStream | ChunkedMemoryStream | ||
RawUrl | string |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
AddHeader ( string type, string value ) : void | ||
CopyFrom ( |
||
GetRequestHeader ( string name ) : string | ||
HttpSocketContext ( string prefix, int limit, |
||
Parse ( Socket socket, |
||
Reset ( ) : void |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public CopyFrom ( |
||
other | ||
리턴 | void |
public HttpSocketContext ( string prefix, int limit, |
||
prefix | string | |
limit | int | |
routes | ||
리턴 | System |
public Parse ( Socket socket, |
||
socket | Socket | |
match | ||
route | ||
리턴 | bool |