class Stomp::Frame
- Stomp::Frame
- Reference
- Object
Overview
Represent a frame
Defined in:
frames.crConstant Summary
-
BEAT =
"\n"
-
NOT_ESCAPED_FRAMES =
[Commands::CONNECT, Commands::CONNECTED]
Constructors
- .decode(io : IO) : Frame
- .decode(s : String) : Frame
- .new(command : Stomp::Commands, headers : Hash(String, String) = {} of String => String, body : String = "")
Class Method Summary
Instance Method Summary
-
#==(other)
Returns
false
(other can only be aValue
here). - #body : String
- #body=(body : String)
- #command : Commands
- #command=(command : Commands)
- #encode(output : IO, with_return = false, with_content_length = true) : IO
- #encode(with_return = false, with_content_length = true) : String
- #headers : Hash(String, String)
- #headers=(headers : Hash(String, String))
Constructor Detail
def self.new(command : Stomp::Commands, headers : Hash(String, String) = {} of String => String, body : String = "")
#
Class Method Detail
Instance Method Detail
def ==(other)
#
Description copied from class Reference
Returns false
(other can only be a Value
here).