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

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)

Port

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

property Port: Integer read write

Socket4

property Socket4: TROAsyncSocket read write

Socket6

property Socket6: TROAsyncSocket read write

 

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

MaxHeaderLines

property MaxHeaderLines: Integer read write

MaxPostData

property MaxPostData: Integer read write

Port

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

property Port: Integer read write

Socket4

property Socket4: TROAsyncSocket read write

Socket6

property Socket6: TROAsyncSocket read write

 

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)