Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
dsa6common
master
Common
Messages
BaseMessage
FileRequest
Response
Generated using Crystal 1.14.0
2024-11-26 18:30:08 UTC
class
Common::
Messages::
FileRequest
Common::Messages::FileRequest
Common::Messages::BaseMessage
Reference
Object
Defined in:
messages/file_message.cr
Constructors
.new
(filename : String, contents : Bytes)
.new
(pull : MessagePack::Unpacker)
Instance Method Summary
#contents
: Bytes
#contents=
(contents : Bytes)
#filename
: String
#filename=
(filename : String)
Constructor methods inherited from class
Common::Messages::BaseMessage
new(pull : MessagePack::Unpacker)
new
Constructor Detail
def self.
new
(filename : String, contents : Bytes)
#
[
View source
]
def self.
new
(pull : MessagePack::Unpacker)
#
[
View source
]
Instance Method Detail
def
contents
: Bytes
#
[
View source
]
def
contents=
(contents : Bytes)
#
[
View source
]
def
filename
: String
#
[
View source
]
def
filename=
(filename : String)
#
[
View source
]