C# Class Crowbar.CrowbarHttpWorker

Inheritance: System.Web.Hosting.SimpleWorkerRequest
Show file Open project: mrydengren/crowbar Class Usage Examples

Public Methods

Method Description
CrowbarHttpWorker ( ICrowbarHttpRequest request, CrowbarHttpResponse response, IRequestWaitHandle handle ) : System
EndOfRequest ( ) : void
GetHttpVerbName ( ) : string
GetKnownRequestHeader ( int index ) : string
GetPreloadedEntityBody ( ) : byte[]
GetProtocol ( ) : string
GetRawUrl ( ) : string
GetUnknownRequestHeader ( string name ) : string
GetUnknownRequestHeaders ( ) : string[][]
IsSecure ( ) : bool
SendCalculatedContentLength ( int contentLength ) : void
SendKnownResponseHeader ( int index, string value ) : void
SendStatus ( int statusCode, string statusDescription ) : void
SendUnknownResponseHeader ( string name, string value ) : void

Method Details

CrowbarHttpWorker() public method

public CrowbarHttpWorker ( ICrowbarHttpRequest request, CrowbarHttpResponse response, IRequestWaitHandle handle ) : System
request ICrowbarHttpRequest
response CrowbarHttpResponse
handle IRequestWaitHandle
return System

EndOfRequest() public method

public EndOfRequest ( ) : void
return void

GetHttpVerbName() public method

public GetHttpVerbName ( ) : string
return string

GetKnownRequestHeader() public method

public GetKnownRequestHeader ( int index ) : string
index int
return string

GetPreloadedEntityBody() public method

public GetPreloadedEntityBody ( ) : byte[]
return byte[]

GetProtocol() public method

public GetProtocol ( ) : string
return string

GetRawUrl() public method

public GetRawUrl ( ) : string
return string

GetUnknownRequestHeader() public method

public GetUnknownRequestHeader ( string name ) : string
name string
return string

GetUnknownRequestHeaders() public method

public GetUnknownRequestHeaders ( ) : string[][]
return string[][]

IsSecure() public method

public IsSecure ( ) : bool
return bool

SendCalculatedContentLength() public method

public SendCalculatedContentLength ( int contentLength ) : void
contentLength int
return void

SendKnownResponseHeader() public method

public SendKnownResponseHeader ( int index, string value ) : void
index int
value string
return void

SendStatus() public method

public SendStatus ( int statusCode, string statusDescription ) : void
statusCode int
statusDescription string
return void

SendUnknownResponseHeader() public method

public SendUnknownResponseHeader ( string name, string value ) : void
name string
value string
return void