TROAsyncHTTPServer

Overview

The TROAsyncHTTPServer represents an asynchronous HTTP server which is used as public server property in the TROHTTPServer server channel and internally in the TROSuperHTTPServer server channel.

Location

  • Unit: uROAsyncHttpServer.pas

 

constructor Create

constructor Create

Active

property Active: Boolean read write

BindV4

property BindV4: Boolean read write

BindV6

property BindV6: Boolean read write

DisableNagle

property DisableNagle: Boolean read write

IdleTimeout

property IdleTimeout: Integer read write

KeepAlive

property KeepAlive: Boolean read write

ListenQueue

property ListenQueue: Cardinal read write

MaxHeaderLines

property MaxHeaderLines: Integer read write

MaxPostData

property MaxPostData: Integer read write

OnBeforeCleanupContext

property OnBeforeCleanupContext: TROAsyncHTTPRequestHandler read write
delegate: procedure OnBeforeCleanupContext(Sender: TObject; aContext: IROAsyncContext)

OnBeforeData

property OnBeforeData: TROAsyncHTTPRequestHandler read write
delegate: procedure OnBeforeData(Sender: TObject; aContext: IROAsyncContext)

OnManualBind

property OnManualBind: TNotifyEvent read write

OnRequest

property OnRequest: TROAsyncHTTPRequestHandler read write
delegate: procedure OnRequest(Sender: TObject; aContext: IROAsyncContext)

OnResponseFailed

property OnResponseFailed: TROAsyncHTTPRequestHandler read write
delegate: procedure OnResponseFailed(Sender: TObject; aContext: IROAsyncContext)

OnResponseSent

property OnResponseSent: TROAsyncHTTPRequestHandler read write
delegate: procedure OnResponseSent(Sender: TObject; aContext: IROAsyncContext)

OpenSSL

property OpenSSL: TROOpenSSL read

Port

The network socket where the server will be listening (port 80 by default).

property Port: Integer read write

Socket4

property Socket4: TROAsyncSocket read

Socket6

property Socket6: TROAsyncSocket read

 

Active

property Active: Boolean read write

BindV4

property BindV4: Boolean read write

BindV6

property BindV6: Boolean read write

DisableNagle

property DisableNagle: Boolean read write

IdleTimeout

property IdleTimeout: Integer read write

KeepAlive

property KeepAlive: Boolean read write

ListenQueue

property ListenQueue: Cardinal read write

MaxHeaderLines

property MaxHeaderLines: Integer read write

MaxPostData

property MaxPostData: Integer read write

OpenSSL

property OpenSSL: TROOpenSSL read

Port

The network socket where the server will be listening (port 80 by default).

property Port: Integer read write

Socket4

property Socket4: TROAsyncSocket read

Socket6

property Socket6: TROAsyncSocket read

 

constructor Create

constructor Create

 

OnBeforeCleanupContext

property OnBeforeCleanupContext: TROAsyncHTTPRequestHandler read write
delegate: procedure OnBeforeCleanupContext(Sender: TObject; aContext: IROAsyncContext)

OnBeforeData

property OnBeforeData: TROAsyncHTTPRequestHandler read write
delegate: procedure OnBeforeData(Sender: TObject; aContext: IROAsyncContext)

OnManualBind

property OnManualBind: TNotifyEvent read write

OnRequest

property OnRequest: TROAsyncHTTPRequestHandler read write
delegate: procedure OnRequest(Sender: TObject; aContext: IROAsyncContext)

OnResponseFailed

property OnResponseFailed: TROAsyncHTTPRequestHandler read write
delegate: procedure OnResponseFailed(Sender: TObject; aContext: IROAsyncContext)

OnResponseSent

property OnResponseSent: TROAsyncHTTPRequestHandler read write
delegate: procedure OnResponseSent(Sender: TObject; aContext: IROAsyncContext)