Habari STOMP Client for OpenMQ 9.0
Object Pascal STOMP client library for OpenMQ
Loading...
Searching...
No Matches
BTStompEncoder.pas File Reference

Functions

RawByteString EncodeFrame (const IStompFrame AFrame, const TStompProtocolVersion AVersion)
 Converts a STOMP frame into a byte array.
 
RawByteString HeaderEscape (const RawByteString S, const Boolean IsCONNECTFrame, const TStompProtocolVersion Version)
 STOMP 1.1 notes The CONNECT and CONNECTED frames do not escape the colon or newline octets in order to remain backward compatible with STOMP 1.0.
 
RawByteString Escape (AnsiChar Old, const AnsiString New, const RawByteString S)
 

Variables

 AnsiStrings
 

Function Documentation

◆ EncodeFrame()

RawByteString EncodeFrame ( const IStompFrame AFrame,
const TStompProtocolVersion AVersion )

Converts a STOMP frame into a byte array.

Parameters
AVersionthe STOMP protocol version
AFramethe STOMP frame

◆ Escape()

RawByteString Escape ( AnsiChar Old,
const AnsiString New,
const RawByteString S )

◆ HeaderEscape()

RawByteString HeaderEscape ( const RawByteString S,
const Boolean IsCONNECTFrame,
const TStompProtocolVersion Version )

STOMP 1.1 notes The CONNECT and CONNECTED frames do not escape the colon or newline octets in order to remain backward compatible with STOMP 1.0.

Variable Documentation

◆ AnsiStrings

AnsiStrings