TAdvancedSingleInstance.ServerPostCustomResponse procedure
Post a server response to the client.
Declaration
procedure ServerPostCustomResponse(const aRequestID: Integer;
const aMsgType: Integer;
const aStream: TStream)Arguments
aRequestID | Client request ID to respond to. |
aMsgType | Message type for the message. |
aStream | Message payload. |
Description
ClientPostCustomRequest> sends the data in
aStream to the client instance using message type
aMsgType,
in response to client message
aRequestID.
The client can check for the response using
ClientPeekCustomResponseErrors
If this application instance is not a server instance, then a
ESingleInstance exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
