danieleteti / delphistompclient

STOMP client for Embarcadero Delphi and FreePascal.
141 stars 64 forks source link

Proper TBytes handling in StompClient #26

Closed svip closed 6 years ago

svip commented 6 years ago

Previously, the StompClient would only handle UTF-8 encoding strings (or other encodings), but not raw TBytes data, such as images, tables or other types of raw data.

These modifications read non-text Content-Types into a TBytes without doing anything to encode the data. Text Content-Types are handled as before.