IIPAsyncContext
Overview
The IIPAsyncContext represents the execution context for asynchronous data exchange between client and server. This interface is implemented by TIPAsyncContext, which is used internally by some Remoting SDK Server channels.
Location
- Unit: uIPAsyncHttpServer.pas
- Ancestry: IROHTTPClientCapabilities | IIPAsyncContext
AcceptEncodingModes (declared in IROHTTPClientCapabilities)
Holds server's accept-encoding header
property AcceptEncodingModes: TROHTTPAcceptEncodingModes read write
Disconnected
Reports the current connection state (true when disconnected).
property Disconnected: Boolean read
GetSelf
Returns the object that realizes the current interface.
function GetSelf: TIPAsyncContext
Owner
The TIPAsyncHTTPServer that is operated in this context.
property Owner: TIPAsyncHTTPServer read
Request
Holds the TIPHTTPRequestHeaders class that represents an incoming request to the server.
property Request: TIPHTTPRequestHeaders read
RequestData
Stores the array of bytes that holds incoming data.
property RequestData: TBytes read write
Response
Holds the TIPHTTPRequestHeaders class that represents an outgoing request to the client.
property Response: TIPHTTPResponseHeaders read
ResponseData
Stores the array of bytes that holds outgoing data.
property ResponseData: TBytes read write
ResponseSent
Indicates if a response has been sent to the client.
property ResponseSent: Boolean read
SendResponse
Sents Response to client.
procedure SendResponse
UserData
Holds arbitrary data associated with this context.
property UserData: Pointer read write
AcceptEncodingModes (declared in IROHTTPClientCapabilities)
Holds server's accept-encoding header
property AcceptEncodingModes: TROHTTPAcceptEncodingModes read write
Disconnected
Reports the current connection state (true when disconnected).
property Disconnected: Boolean read
Owner
The TIPAsyncHTTPServer that is operated in this context.
property Owner: TIPAsyncHTTPServer read
Request
Holds the TIPHTTPRequestHeaders class that represents an incoming request to the server.
property Request: TIPHTTPRequestHeaders read
RequestData
Stores the array of bytes that holds incoming data.
property RequestData: TBytes read write
Response
Holds the TIPHTTPRequestHeaders class that represents an outgoing request to the client.
property Response: TIPHTTPResponseHeaders read
ResponseData
Stores the array of bytes that holds outgoing data.
property ResponseData: TBytes read write
ResponseSent
Indicates if a response has been sent to the client.
property ResponseSent: Boolean read
UserData
Holds arbitrary data associated with this context.
property UserData: Pointer read write
GetSelf
Returns the object that realizes the current interface.
function GetSelf: TIPAsyncContext
SendResponse
Sents Response to client.
procedure SendResponse