Stomp::Frame
Inherits Reference < Object
Represent a frame
Constants
BEAT = "\n"
NOT_ESCAPED_FRAMES = [Commands::CONNECT, Commands::CONNECTED]
Constructors
decode(io : IO) : Frame
Sourcedecode(s : String) : Frame
Sourcenew(command : Stomp::Commands, headers : Hash(String, String) = {} of String => String, body : String = "")
SourceClass methods
is_beat(src)
SourceInstance methods
body
Sourcebody=(body : String)
Sourcecommand
Sourcecommand=(command : Commands)
Sourceencode(output : IO, with_return = false, with_content_length = true) : IO
Sourceencode(with_return = false, with_content_length = true) : String
Sourceheaders
Sourceheaders=(headers : Hash(String, String))
Source