Sign in Join
FPDoc Onlineexperiment

TIPCClient.PostRequest function

Member of TIPCClientpublicIn unit AdvancedIPC

Post request to server without waiting for response

Declaration

pascal
function PostRequest(const aMsgType: TMessageType; 
 const aStream: TStream): Integer

Arguments

aMsgType

Message type identifier

aStream

Stream containing request data

Function result

Request ID for retrieving the response

Description

The PostRequest function sends a request to the server and returns immediately without waiting for the server to process it. Returns the request ID that can be used to retrieve the response later using PeekResponse.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.