TsgcWSPClient_FilesProperties › Client

Client Property

WebSocket client component used as transport for the Files subprotocol.

Syntax

property Client: TsgcWSComponent_WSClient read FClient write SetClient;

Default Value

Remarks

Drop a TsgcWebSocketClient on the form and assign it to this property so the Files subprotocol can send and receive framed file fragments through it. The connection must be opened on the Client itself; this component only layers fragmented upload/download, QoS and acknowledgment logic on top of the existing transport.

Example

oProtocol := TsgcWSPClient_Files.Create(nil);
oProtocol.Client := sgcWebSocketClient1;
sgcWebSocketClient1.Active := True;

Back to Properties