TsgcWebSocketClient › Properties › WriteTimeout
Maximum duration in milliseconds for sending data to the other peer.
property WriteTimeout: Integer read FWriteTimeout write FWriteTimeout;
0
A value of 0 disables the write timeout and matches the default operating-system behaviour. Positive values abort the send operation when an outgoing buffer cannot be flushed within the specified number of milliseconds. This property only takes effect on Windows.
oClient := TsgcWebSocketClient.Create(nil);
oClient.URL := 'wss://www.esegece.com:2053';
oClient.WriteTimeout := 10000;
oClient.Active := true;