EugeneK 19 Posted May 1 Hi Can we add THttpConnection.AnswerBytes with TBytes parameter same way as TSocket.SendTB Share this post Link to post
Angus Robertson 574 Posted May 2 I'm slowly adding TBytes versions of binary methods and properties as I update components, should be added in the next week or so. Angus 1 Share this post Link to post
Angus Robertson 574 Posted May 6 Do you expect AnswerBytes to be an alternate to AnswerStream, AnswerString or AnswerPage? Angus Share this post Link to post
EugeneK 19 Posted May 6 For me it is alternative for AnswerStream, so there is no need to create/dispose stream if there are already TBytes to send. Share this post Link to post
Angus Robertson 574 Posted May 6 Thanks, I added AnswerBodyTB which creates a TBytesStream, not tested yet since the samples don't send small streams. Angus Share this post Link to post
EugeneK 19 Posted May 7 (edited) BTW any reason why AnswerBodyTB rather than AnswerBodyTBytes or AnswerBodyBytes? makes it less readable and not consistent since it is AnswerBodyStream, not AnswerBodyTS Edited May 7 by EugeneK Share this post Link to post
Angus Robertson 574 Posted May 7 ICS house style, per your original request example. Angus Share this post Link to post
Angus Robertson 574 Posted May 17 AnswerBodyTB is now in SVN and overnight zip updated. Angus 1 Share this post Link to post