C# Class Mono.WebServer.XSPWorkerRequest

Inheritance: Mono.WebServer.MonoWorkerRequest
Datei anzeigen Open project: robashton/zombify Class Usage Examples

Public Methods

Method Description
CloseConnection ( ) : void
FlushResponse ( bool finalFlush ) : void
GetFilePath ( ) : string
GetHttpVerbName ( ) : string
GetHttpVersion ( ) : string
GetKnownRequestHeader ( int index ) : string
GetLocalAddress ( ) : string
GetLocalPort ( ) : int
GetPathInfo ( ) : string
GetPreloadedEntityBody ( ) : byte[]
GetQueryString ( ) : string
GetQueryStringRawBytes ( ) : byte[]
GetRawUrl ( ) : string
GetRemoteAddress ( ) : string
GetRemoteName ( ) : string
GetRemotePort ( ) : int
GetServerVariable ( string name ) : string
GetUnknownRequestHeader ( string name ) : string
GetUnknownRequestHeaders ( ) : string[][]
GetUriPath ( ) : string
HeadersSent ( ) : bool
IsClientConnected ( ) : bool
IsEntireEntityBodyIsPreloaded ( ) : bool
IsSecure ( ) : bool
ReadEntityBody ( byte buffer, int size ) : int
SendResponseFromFile ( IntPtr handle, long offset, long length ) : void
SendResponseFromFile ( string filename, long offset, long length ) : void
SendResponseFromMemory ( byte data, int length ) : void
SendStatus ( int statusCode, string statusDescription ) : void
SendUnknownResponseHeader ( string name, string value ) : void
XSPWorkerRequest ( int requestId, XSPRequestBroker requestBroker, IApplicationHost appHost, EndPoint localEP, EndPoint remoteEP, string verb, string path, string queryString, string protocol, byte inputBuffer, IntPtr socket, bool secure ) : System

Protected Methods

Method Description
GetRequestData ( ) : bool

Private Methods

Method Description
AddConnectionHeader ( ) : void
CheckOS ( ) : bool
Cork ( bool val ) : int
FillBuffer ( ) : void
GetHeaders ( ) : byte[]
GetRequestHeaders ( ) : void
ReadInput ( byte buffer, int offset, int size ) : int
ReadLine ( ) : string
Send ( byte buffer, int offset, int len ) : int
SendHeaders ( ) : int
SetDefaultIndexFiles ( string list ) : void
TryDirectory ( ) : bool
XSPWorkerRequest ( ) : System
send ( int s, byte buffer, IntPtr len, int flags ) : int
sendfile ( int out_fd, int in_fd, long &offset, IntPtr count ) : int
setsockopt ( int handle, int level, int opt, bool &val, IntPtr len ) : int

Method Details

CloseConnection() public method

public CloseConnection ( ) : void
return void

FlushResponse() public method

public FlushResponse ( bool finalFlush ) : void
finalFlush bool
return void

GetFilePath() public method

public GetFilePath ( ) : string
return string

GetHttpVerbName() public method

public GetHttpVerbName ( ) : string
return string

GetHttpVersion() public method

public GetHttpVersion ( ) : string
return string

GetKnownRequestHeader() public method

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

GetLocalAddress() public method

public GetLocalAddress ( ) : string
return string

GetLocalPort() public method

public GetLocalPort ( ) : int
return int

GetPathInfo() public method

public GetPathInfo ( ) : string
return string

GetPreloadedEntityBody() public method

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

GetQueryString() public method

public GetQueryString ( ) : string
return string

GetQueryStringRawBytes() public method

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

GetRawUrl() public method

public GetRawUrl ( ) : string
return string

GetRemoteAddress() public method

public GetRemoteAddress ( ) : string
return string

GetRemoteName() public method

public GetRemoteName ( ) : string
return string

GetRemotePort() public method

public GetRemotePort ( ) : int
return int

GetRequestData() protected method

protected GetRequestData ( ) : bool
return bool

GetServerVariable() public method

public GetServerVariable ( string name ) : string
name string
return string

GetUnknownRequestHeader() public method

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

GetUnknownRequestHeaders() public method

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

GetUriPath() public method

public GetUriPath ( ) : string
return string

HeadersSent() public method

public HeadersSent ( ) : bool
return bool

IsClientConnected() public method

public IsClientConnected ( ) : bool
return bool

IsEntireEntityBodyIsPreloaded() public method

public IsEntireEntityBodyIsPreloaded ( ) : bool
return bool

IsSecure() public method

public IsSecure ( ) : bool
return bool

ReadEntityBody() public method

public ReadEntityBody ( byte buffer, int size ) : int
buffer byte
size int
return int

SendResponseFromFile() public method

public SendResponseFromFile ( IntPtr handle, long offset, long length ) : void
handle IntPtr
offset long
length long
return void

SendResponseFromFile() public method

public SendResponseFromFile ( string filename, long offset, long length ) : void
filename string
offset long
length long
return void

SendResponseFromMemory() public method

public SendResponseFromMemory ( byte data, int length ) : void
data byte
length int
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

XSPWorkerRequest() public method

public XSPWorkerRequest ( int requestId, XSPRequestBroker requestBroker, IApplicationHost appHost, EndPoint localEP, EndPoint remoteEP, string verb, string path, string queryString, string protocol, byte inputBuffer, IntPtr socket, bool secure ) : System
requestId int
requestBroker XSPRequestBroker
appHost IApplicationHost
localEP EndPoint
remoteEP EndPoint
verb string
path string
queryString string
protocol string
inputBuffer byte
socket IntPtr
secure bool
return System