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

Implemented in

 

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 write

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 write

Request

Holds the TIPHTTPRequestHeaders class that represents an incoming request to the server.

property Request: TIPHTTPRequestHeaders read write

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 write

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 write

SendResponse

Sents Response to client.

procedure SendResponse

SetRequestData

procedure SetRequestData(aData: TBytes)

Parameters:

  • aData:

SetResponseData

procedure SetResponseData(aData: TBytes)

Parameters:

  • aData:

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 write

Owner

The TIPAsyncHTTPServer that is operated in this context.

property Owner: TIPAsyncHTTPServer read write

Request

Holds the TIPHTTPRequestHeaders class that represents an incoming request to the server.

property Request: TIPHTTPRequestHeaders read write

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 write

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 write

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

SetRequestData

procedure SetRequestData(aData: TBytes)

Parameters:

  • aData:

SetResponseData

procedure SetResponseData(aData: TBytes)

Parameters:

  • aData: