Friday, 03 May 2024
  1 Replies
  749 Visits
  Subscribe
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
6 months ago
·
#2040
Hello,

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

Kind regards,
Sergio
  • 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,pas,dfm,dpr,dproj,dpk
· Insert · Remove
  Upload Files (Maximum 10MB)