Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
nsq
master
Nsq
AttributeLogger
ClientBase
Connection
Consumer
Discovery
DiscoveryException
Error
Frame
Message
Opts
Producer
Response
Built with Crystal 1.9.2
2023-10-07 18:51:22 UTC
class
Nsq::Message
Nsq::Message
Nsq::Frame
Reference
Object
Defined in:
nsq/frames/message.cr
Constructors
.new
(data, connection)
Instance Method Summary
#attempts
: Int16
#body
: String
#finish
#id
: String
#requeue
(timeout =
0
)
#timestamp
#touch
Instance methods inherited from class
Nsq::Frame
connection : Nsq::Connection
connection
,
data : String
data
Constructor methods inherited from class
Nsq::Frame
new(data : Slice(UInt8), connection : Connection)
new
Instance methods inherited from module
Nsq::AttributeLogger
debug(msg)
debug
,
error(msg)
error
,
fatal(msg)
fatal
,
info(msg)
info
,
warn(msg)
warn
Class methods inherited from module
Nsq::AttributeLogger
included(klass)
included
Constructor Detail
def self.
new
(data, connection)
#
[
View source
]
Instance Method Detail
def
attempts
: Int16
#
[
View source
]
def
body
: String
#
[
View source
]
def
finish
#
[
View source
]
def
id
: String
#
[
View source
]
def
requeue
(timeout =
0
)
#
[
View source
]
def
timestamp
#
[
View source
]
def
touch
#
[
View source
]