You need to be logged in to view a user's profile.
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
Hello,
Yes, most probably can be implemented, I'll let you know when it's ready. Thanks for the suggestion.
Kind regards,
Sergio
There are no replies made for this post yet.