Send a custom message to the server.
Source position: advancedsingleinstance.pas line 64
public function TAdvancedSingleInstance.ClientPostCustomRequest( |
const aMsgType: Integer; |
const aStream: TStream |
):Integer; |
aMsgType |
|
Message type to send. |
aStream |
|
Message payload as a stream. |
Message ID of the posted message.
ClientPostCustomRequest> sends the data in aStream to the server instance using message type aMsgType. It returns the message id.
If this application instance is not a client instance, then a ESingleInstance exception is raised.
|
ClientSendCustomRequest. |
|
|
Post a server response to the client. |