Hello,
for synchronous calls to a websocket there currently exists a method that operates with strings as input and output values:
function TsgcWSConnection.WriteAndWaitData(const aText: string; const aTimeOut: Integer = 10000): string;
How about adding a variant that uses streams instead of strings
function TsgcWSConnection.WriteAndWaitData(const aStream: TStream; const aTimeOut: Integer = 10000): TMemoryStream;
as is already the case with the asynchronous methods TsgcWSConnection.WriteData() ?
Kind regards
Michael