AsyncHttpServer

Overview

Location

 

constructor

 

constructor

 

AsyncHttpServer()

 

Sub New()

constructor (IContainer)

 

constructor(container: IContainer)

 

AsyncHttpServer(IContainer container)

 

Sub New(container As IContainer)

Parameters:

  • container:

Active    (declared in Server)

 

property Active: Boolean read write;

 

Boolean Active { get; set; }

 

Property Active() As Boolean

BeforeHaveData

 

event BeforeHaveData: EventHandler<AsyncHttpRequestEventArgs>;

 

delegate EventHandler<AsyncHttpRequestEventArgs> BeforeHaveData()

 

Event BeforeHaveData As EventHandler<AsyncHttpRequestEventArgs>

BindAddressV4    (declared in Server)

 

property BindAddressV4: IPAddress read write;

 

IPAddress BindAddressV4 { get; set; }

 

Property BindAddressV4() As IPAddress

BindAddressV6    (declared in Server)

 

property BindAddressV6: IPAddress read write;

 

IPAddress BindAddressV6 { get; set; }

 

Property BindAddressV6() As IPAddress

BindingV4    (declared in Server)

 

property BindingV4: ServerBinding read;

 

ServerBinding BindingV4 { get; }

 

ReadOnly Property BindingV4() As ServerBinding

BindingV6    (declared in Server)

 

property BindingV6: ServerBinding read;

 

ServerBinding BindingV6 { get; }

 

ReadOnly Property BindingV6() As ServerBinding

BindV4    (declared in Server)

 

property BindV4: Boolean read write;

 

Boolean BindV4 { get; set; }

 

Property BindV4() As Boolean

BindV6    (declared in Server)

 

property BindV6: Boolean read write;

 

Boolean BindV6 { get; set; }

 

Property BindV6() As Boolean

ClientClosed    (declared in AsyncServer)

 

method ClientClosed(worker: IAsyncWorker)

 

void ClientClosed(IAsyncWorker worker)

 

Sub ClientClosed(worker As IAsyncWorker)

Parameters:

  • worker:

Close    (declared in AsyncServer)

 

method Close

 

void Close()

 

Sub Close()

CloseConnectionsOnShutdown    (declared in Server)

 

property CloseConnectionsOnShutdown: Boolean read write;

 

Boolean CloseConnectionsOnShutdown { get; set; }

 

Property CloseConnectionsOnShutdown() As Boolean

ConnectionClass    (declared in Server)

 

property ConnectionClass: Type read write;

 

Type ConnectionClass { get; set; }

 

Property ConnectionClass() As Type

ConnectionFactory    (declared in Server)

 

property ConnectionFactory: IConnectionFactory read write;

 

IConnectionFactory ConnectionFactory { get; set; }

 

Property ConnectionFactory() As IConnectionFactory

CreateWorker  protected

 

method CreateWorker(owner: Server): Object

 

Object CreateWorker(Server owner)

 

Function CreateWorker(owner As Server) As Object

Parameters:

  • owner:

DefaultPort  protected    (declared in Server)

 

property DefaultPort: Int32 read write;

 

Int32 DefaultPort { get; set; }

 

Property DefaultPort() As Int32

Dispose  protected    (declared in Server)

 

method Dispose(disposing: Boolean)

 

void Dispose(Boolean disposing)

 

Sub Dispose(disposing As Boolean)

Parameters:

  • disposing:

EnableNagle    (declared in Server)

 

property EnableNagle: Boolean read write;

 

Boolean EnableNagle { get; set; }

 

Property EnableNagle() As Boolean

HttpRequest

 

event HttpRequest: EventHandler<AsyncHttpRequestEventArgs>;

 

delegate EventHandler<AsyncHttpRequestEventArgs> HttpRequest()

 

Event HttpRequest As EventHandler<AsyncHttpRequestEventArgs>

HttpResponseFailed

 

event HttpResponseFailed: EventHandler<AsyncHttpRequestEventArgs>;

 

delegate EventHandler<AsyncHttpRequestEventArgs> HttpResponseFailed()

 

Event HttpResponseFailed As EventHandler<AsyncHttpRequestEventArgs>

HttpResponseSent

 

event HttpResponseSent: EventHandler<AsyncHttpRequestEventArgs>;

 

delegate EventHandler<AsyncHttpRequestEventArgs> HttpResponseSent()

 

Event HttpResponseSent As EventHandler<AsyncHttpRequestEventArgs>

IsRunningOnMono  protected    (declared in Server)

 

class method IsRunningOnMono: Boolean

 

static Boolean IsRunningOnMono()

 

Shared Function IsRunningOnMono() As Boolean

KeepAlive

 

property KeepAlive: Boolean read write;

 

Boolean KeepAlive { get; set; }

 

Property KeepAlive() As Boolean

MaxLineLength    (declared in Server)

 

property MaxLineLength: Int32 read write;

 

Int32 MaxLineLength { get; set; }

 

Property MaxLineLength() As Int32

MaxLineLengthEnabled    (declared in Server)

 

property MaxLineLengthEnabled: Boolean read write;

 

Boolean MaxLineLengthEnabled { get; set; }

 

Property MaxLineLengthEnabled() As Boolean

MaxPostSize

 

property MaxPostSize: Int32 read write;

 

Int32 MaxPostSize { get; set; }

 

Property MaxPostSize() As Int32

NewContext  protected

 

method NewContext(worker: AsyncHttpServerWorker): AsyncHttpContext

 

AsyncHttpContext NewContext(AsyncHttpServerWorker worker)

 

Function NewContext(worker As AsyncHttpServerWorker) As AsyncHttpContext

Parameters:

  • worker:

Open    (declared in AsyncServer)

 

method Open

 

void Open()

 

Sub Open()

Port    (declared in Server)

 

property Port: Int32 read write;

 

Int32 Port { get; set; }

 

Property Port() As Int32

ServerName

 

property ServerName: String read write;

 

String ServerName { get; set; }

 

Property ServerName() As String

ShouldSerializePort    (declared in Server)

 

method ShouldSerializePort: Boolean

 

Boolean ShouldSerializePort()

 

Function ShouldSerializePort() As Boolean

SslOptions    (declared in Server)

 

property SslOptions: SslConnectionFactory read;

 

SslConnectionFactory SslOptions { get; }

 

ReadOnly Property SslOptions() As SslConnectionFactory

Timeout    (declared in Server)

 

property Timeout: Int32 read write;

 

Int32 Timeout { get; set; }

 

Property Timeout() As Int32

TimeoutEnabled    (declared in Server)

 

property TimeoutEnabled: Boolean read write;

 

Boolean TimeoutEnabled { get; set; }

 

Property TimeoutEnabled() As Boolean

TriggerBeforeHaveData  protected

 

method TriggerBeforeHaveData(e: AsyncHttpRequestEventArgs)

 

void TriggerBeforeHaveData(AsyncHttpRequestEventArgs e)

 

Sub TriggerBeforeHaveData(e As AsyncHttpRequestEventArgs)

Parameters:

  • e:

TriggerHttpRequest  protected

 

method TriggerHttpRequest(e: AsyncHttpRequestEventArgs)

 

void TriggerHttpRequest(AsyncHttpRequestEventArgs e)

 

Sub TriggerHttpRequest(e As AsyncHttpRequestEventArgs)

Parameters:

  • e:

TriggerHttpResponseFailed  protected

 

method TriggerHttpResponseFailed(e: AsyncHttpRequestEventArgs)

 

void TriggerHttpResponseFailed(AsyncHttpRequestEventArgs e)

 

Sub TriggerHttpResponseFailed(e As AsyncHttpRequestEventArgs)

Parameters:

  • e:

TriggerHttpResponseSent  protected

 

method TriggerHttpResponseSent(e: AsyncHttpRequestEventArgs)

 

void TriggerHttpResponseSent(AsyncHttpRequestEventArgs e)

 

Sub TriggerHttpResponseSent(e As AsyncHttpRequestEventArgs)

Parameters:

  • e:

ValidateRequests

 

property ValidateRequests: Boolean read write;

 

Boolean ValidateRequests { get; set; }

 

Property ValidateRequests() As Boolean

 

Active    (declared in Server)

 

property Active: Boolean read write;

 

Boolean Active { get; set; }

 

Property Active() As Boolean

BindAddressV4    (declared in Server)

 

property BindAddressV4: IPAddress read write;

 

IPAddress BindAddressV4 { get; set; }

 

Property BindAddressV4() As IPAddress

BindAddressV6    (declared in Server)

 

property BindAddressV6: IPAddress read write;

 

IPAddress BindAddressV6 { get; set; }

 

Property BindAddressV6() As IPAddress

BindingV4    (declared in Server)

 

property BindingV4: ServerBinding read;

 

ServerBinding BindingV4 { get; }

 

ReadOnly Property BindingV4() As ServerBinding

BindingV6    (declared in Server)

 

property BindingV6: ServerBinding read;

 

ServerBinding BindingV6 { get; }

 

ReadOnly Property BindingV6() As ServerBinding

BindV4    (declared in Server)

 

property BindV4: Boolean read write;

 

Boolean BindV4 { get; set; }

 

Property BindV4() As Boolean

BindV6    (declared in Server)

 

property BindV6: Boolean read write;

 

Boolean BindV6 { get; set; }

 

Property BindV6() As Boolean

CloseConnectionsOnShutdown    (declared in Server)

 

property CloseConnectionsOnShutdown: Boolean read write;

 

Boolean CloseConnectionsOnShutdown { get; set; }

 

Property CloseConnectionsOnShutdown() As Boolean

ConnectionClass    (declared in Server)

 

property ConnectionClass: Type read write;

 

Type ConnectionClass { get; set; }

 

Property ConnectionClass() As Type

ConnectionFactory    (declared in Server)

 

property ConnectionFactory: IConnectionFactory read write;

 

IConnectionFactory ConnectionFactory { get; set; }

 

Property ConnectionFactory() As IConnectionFactory

DefaultPort  protected    (declared in Server)

 

property DefaultPort: Int32 read write;

 

Int32 DefaultPort { get; set; }

 

Property DefaultPort() As Int32

EnableNagle    (declared in Server)

 

property EnableNagle: Boolean read write;

 

Boolean EnableNagle { get; set; }

 

Property EnableNagle() As Boolean

KeepAlive

 

property KeepAlive: Boolean read write;

 

Boolean KeepAlive { get; set; }

 

Property KeepAlive() As Boolean

MaxLineLength    (declared in Server)

 

property MaxLineLength: Int32 read write;

 

Int32 MaxLineLength { get; set; }

 

Property MaxLineLength() As Int32

MaxLineLengthEnabled    (declared in Server)

 

property MaxLineLengthEnabled: Boolean read write;

 

Boolean MaxLineLengthEnabled { get; set; }

 

Property MaxLineLengthEnabled() As Boolean

MaxPostSize

 

property MaxPostSize: Int32 read write;

 

Int32 MaxPostSize { get; set; }

 

Property MaxPostSize() As Int32

Port    (declared in Server)

 

property Port: Int32 read write;

 

Int32 Port { get; set; }

 

Property Port() As Int32

ServerName

 

property ServerName: String read write;

 

String ServerName { get; set; }

 

Property ServerName() As String

SslOptions    (declared in Server)

 

property SslOptions: SslConnectionFactory read;

 

SslConnectionFactory SslOptions { get; }

 

ReadOnly Property SslOptions() As SslConnectionFactory

Timeout    (declared in Server)

 

property Timeout: Int32 read write;

 

Int32 Timeout { get; set; }

 

Property Timeout() As Int32

TimeoutEnabled    (declared in Server)

 

property TimeoutEnabled: Boolean read write;

 

Boolean TimeoutEnabled { get; set; }

 

Property TimeoutEnabled() As Boolean

ValidateRequests

 

property ValidateRequests: Boolean read write;

 

Boolean ValidateRequests { get; set; }

 

Property ValidateRequests() As Boolean

 

IsRunningOnMono  protected    (declared in Server)

 

class method IsRunningOnMono: Boolean

 

static Boolean IsRunningOnMono()

 

Shared Function IsRunningOnMono() As Boolean

 

constructor

 

constructor

 

AsyncHttpServer()

 

Sub New()

constructor (IContainer)

 

constructor(container: IContainer)

 

AsyncHttpServer(IContainer container)

 

Sub New(container As IContainer)

Parameters:

  • container:

ClientClosed    (declared in AsyncServer)

 

method ClientClosed(worker: IAsyncWorker)

 

void ClientClosed(IAsyncWorker worker)

 

Sub ClientClosed(worker As IAsyncWorker)

Parameters:

  • worker:

Close    (declared in AsyncServer)

 

method Close

 

void Close()

 

Sub Close()

CreateWorker  protected

 

method CreateWorker(owner: Server): Object

 

Object CreateWorker(Server owner)

 

Function CreateWorker(owner As Server) As Object

Parameters:

  • owner:

Dispose  protected    (declared in Server)

 

method Dispose(disposing: Boolean)

 

void Dispose(Boolean disposing)

 

Sub Dispose(disposing As Boolean)

Parameters:

  • disposing:

NewContext  protected

 

method NewContext(worker: AsyncHttpServerWorker): AsyncHttpContext

 

AsyncHttpContext NewContext(AsyncHttpServerWorker worker)

 

Function NewContext(worker As AsyncHttpServerWorker) As AsyncHttpContext

Parameters:

  • worker:

Open    (declared in AsyncServer)

 

method Open

 

void Open()

 

Sub Open()

ShouldSerializePort    (declared in Server)

 

method ShouldSerializePort: Boolean

 

Boolean ShouldSerializePort()

 

Function ShouldSerializePort() As Boolean

TriggerBeforeHaveData  protected

 

method TriggerBeforeHaveData(e: AsyncHttpRequestEventArgs)

 

void TriggerBeforeHaveData(AsyncHttpRequestEventArgs e)

 

Sub TriggerBeforeHaveData(e As AsyncHttpRequestEventArgs)

Parameters:

  • e:

TriggerHttpRequest  protected

 

method TriggerHttpRequest(e: AsyncHttpRequestEventArgs)

 

void TriggerHttpRequest(AsyncHttpRequestEventArgs e)

 

Sub TriggerHttpRequest(e As AsyncHttpRequestEventArgs)

Parameters:

  • e:

TriggerHttpResponseFailed  protected

 

method TriggerHttpResponseFailed(e: AsyncHttpRequestEventArgs)

 

void TriggerHttpResponseFailed(AsyncHttpRequestEventArgs e)

 

Sub TriggerHttpResponseFailed(e As AsyncHttpRequestEventArgs)

Parameters:

  • e:

TriggerHttpResponseSent  protected

 

method TriggerHttpResponseSent(e: AsyncHttpRequestEventArgs)

 

void TriggerHttpResponseSent(AsyncHttpRequestEventArgs e)

 

Sub TriggerHttpResponseSent(e As AsyncHttpRequestEventArgs)

Parameters:

  • e:

 

BeforeHaveData

 

event BeforeHaveData: EventHandler<AsyncHttpRequestEventArgs>;

 

delegate EventHandler<AsyncHttpRequestEventArgs> BeforeHaveData()

 

Event BeforeHaveData As EventHandler<AsyncHttpRequestEventArgs>

HttpRequest

 

event HttpRequest: EventHandler<AsyncHttpRequestEventArgs>;

 

delegate EventHandler<AsyncHttpRequestEventArgs> HttpRequest()

 

Event HttpRequest As EventHandler<AsyncHttpRequestEventArgs>

HttpResponseFailed

 

event HttpResponseFailed: EventHandler<AsyncHttpRequestEventArgs>;

 

delegate EventHandler<AsyncHttpRequestEventArgs> HttpResponseFailed()

 

Event HttpResponseFailed As EventHandler<AsyncHttpRequestEventArgs>

HttpResponseSent

 

event HttpResponseSent: EventHandler<AsyncHttpRequestEventArgs>;

 

delegate EventHandler<AsyncHttpRequestEventArgs> HttpResponseSent()

 

Event HttpResponseSent As EventHandler<AsyncHttpRequestEventArgs>