C# Class NginxRequestsGateway, BlackLinks

Inheritance: BlackLinks.Hosting.RequestsGateway
Show file Open project: heapsource/BlackLinks Class Usage Examples

Public Methods

Method Description
AddResponseHeader ( long requestId, RequestHeader header ) : void
GetHeaders ( long nginx_request ) : BlackLinks.RequestHeader[]
GetHttpProtocol ( long requestId ) : string
GetMethodName ( long requestId ) : string
GetQueryString ( long requestId ) : string
GetRequestContent ( long requestId ) : byte[]
GetUri ( long requestId ) : string
NginxRequestsGateway ( string appDirectory ) : System
Process ( long nginx_request ) : void
WriteResponse ( long requestId, byte bytes, string contentType, int statusCode ) : void

Protected Methods

Method Description
RenderReceiverNotFoundPage ( long requestId ) : void

Method Details

AddResponseHeader() public method

public AddResponseHeader ( long requestId, RequestHeader header ) : void
requestId long
header BlackLinks.RequestHeader
return void

GetHeaders() public method

public GetHeaders ( long nginx_request ) : BlackLinks.RequestHeader[]
nginx_request long
return BlackLinks.RequestHeader[]

GetHttpProtocol() public method

public GetHttpProtocol ( long requestId ) : string
requestId long
return string

GetMethodName() public method

public GetMethodName ( long requestId ) : string
requestId long
return string

GetQueryString() public method

public GetQueryString ( long requestId ) : string
requestId long
return string

GetRequestContent() public method

public GetRequestContent ( long requestId ) : byte[]
requestId long
return byte[]

GetUri() public method

public GetUri ( long requestId ) : string
requestId long
return string

NginxRequestsGateway() public method

public NginxRequestsGateway ( string appDirectory ) : System
appDirectory string
return System

Process() public method

public Process ( long nginx_request ) : void
nginx_request long
return void

RenderReceiverNotFoundPage() protected method

protected RenderReceiverNotFoundPage ( long requestId ) : void
requestId long
return void

WriteResponse() public method

public WriteResponse ( long requestId, byte bytes, string contentType, int statusCode ) : void
requestId long
bytes byte
contentType string
statusCode int
return void