C# Class ServiceStack.WebHost.Endpoints.Extensions.HttpListenerRequestWrapper

Inheritance: IHttpRequest
Mostra file Open project: firstsee/ServiceStack Class Usage Examples

Public Methods

Method Description
GetRawBody ( ) : string
HttpListenerRequestWrapper ( string operationName, HttpListenerRequest request ) : System
ValidateInput ( ) : void

Private Methods

Method Description
AddRawKeyValue ( StringBuilder key, StringBuilder value ) : void
EndSubStream ( Stream stream ) : void
GetParameter ( string header, string attr ) : string
GetSubStream ( Stream stream ) : Stream
IsContentType ( string ct, bool starts_with ) : bool
IsInvalidString ( string val ) : bool
IsInvalidString ( string val, int &validationFailureIndex ) : bool
LoadMultiPart ( ) : void
LoadWwwForm ( ) : void
ThrowValidationException ( string name, string key, string value ) : void
ValidateNameValueCollection ( string name, NameValueCollection coll ) : void

Method Details

GetRawBody() public method

public GetRawBody ( ) : string
return string

HttpListenerRequestWrapper() public method

public HttpListenerRequestWrapper ( string operationName, HttpListenerRequest request ) : System
operationName string
request System.Net.HttpListenerRequest
return System

ValidateInput() public method

public ValidateInput ( ) : void
return void