IROAsyncContext

Overview

The IROAsyncContext represents the execution context for asynchronous data exchange between client and server. This interface is implemented by TROAsyncContext, which is used internally by some Remoting SDK Server channels.

Location

 

AcceptEncodingModes    (declared in IROHTTPClientCapabilities)

Holds server's accept-encoding header

property AcceptEncodingModes: TROHTTPAcceptEncodingModes read write

Disconnect

procedure Disconnect

Disconnected

Reports the current connection state (true when disconnected).

property Disconnected: Boolean read

GetSelf

Returns the object that realizes the current interface.

function GetSelf: TObject

Owner

The TROAsyncHTTPServer that is operated in this context.

property Owner: TROAsyncHTTPServer 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 TROAsyncHTTPServer that is operated in this context.

property Owner: TROAsyncHTTPServer 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

 

Disconnect

procedure Disconnect

GetSelf

Returns the object that realizes the current interface.

function GetSelf: TObject

SendResponse

Sents Response to client.

procedure SendResponse