Property | Type | Description | |
---|---|---|---|
Connection | System | ||
GetErrorResponseBody | string | ||
MakeContentTypeHeader | String | ||
MakeResponseHeaders | string |
Method | Description | |
---|---|---|
Close ( ) : void | ||
InitializeLifetimeService ( ) : object | ||
ReadRequestBytes ( int maxBytes ) : byte[] | ||
WaitForRequestBytes ( ) : int | ||
Write100Continue ( ) : void | ||
WriteBody ( byte data, int offset, int length ) : void | ||
WriteEntireResponseFromFile ( String fileName, bool keepAlive ) : void | ||
WriteEntireResponseFromString ( int statusCode, String extraHeaders, String body, bool keepAlive ) : void | ||
WriteErrorAndClose ( int statusCode ) : void | ||
WriteErrorAndClose ( int statusCode, string message ) : void | ||
WriteErrorWithExtraHeadersAndKeepAlive ( int statusCode, string extraHeaders ) : void | ||
WriteHeaders ( int statusCode, String extraHeaders ) : void |
Method | Description | |
---|---|---|
Connection ( |
||
GetErrorResponseBody ( int statusCode, string message ) : string | ||
MakeContentTypeHeader ( string fileName ) : String | ||
MakeResponseHeaders ( int statusCode, string moreHeaders, int contentLength, bool keepAlive ) : string |
public InitializeLifetimeService ( ) : object | ||
return | object |
public ReadRequestBytes ( int maxBytes ) : byte[] | ||
maxBytes | int | |
return | byte[] |
public WriteBody ( byte data, int offset, int length ) : void | ||
data | byte | |
offset | int | |
length | int | |
return | void |
public WriteEntireResponseFromFile ( String fileName, bool keepAlive ) : void | ||
fileName | String | |
keepAlive | bool | |
return | void |
public WriteEntireResponseFromString ( int statusCode, String extraHeaders, String body, bool keepAlive ) : void | ||
statusCode | int | |
extraHeaders | String | |
body | String | |
keepAlive | bool | |
return | void |
public WriteErrorAndClose ( int statusCode ) : void | ||
statusCode | int | |
return | void |
public WriteErrorAndClose ( int statusCode, string message ) : void | ||
statusCode | int | |
message | string | |
return | void |
public WriteErrorWithExtraHeadersAndKeepAlive ( int statusCode, string extraHeaders ) : void | ||
statusCode | int | |
extraHeaders | string | |
return | void |
public WriteHeaders ( int statusCode, String extraHeaders ) : void | ||
statusCode | int | |
extraHeaders | String | |
return | void |