Friday, 03 May 2024
  1 Replies
  134 Visits

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
3 weeks ago

Yes, most probably can be implemented, I'll let you know when it's ready. Thanks for the suggestion.

Kind regards,
  • Page :
  • 1
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf
· Insert · Remove
  Upload Files (Maximum 10MB)