Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
ClientData
Inherits
Reference
<
Object
Constructors
new
(state :
ProtocolState
, socket :
TCPSocket
)
Source
Instance methods
encryption
Source
encryption=
(encryption :
Encryption
|
Nil
)
Source
keep_alive
Source
keep_alive=
(keep_alive :
KeepAlive
)
Source
properties
Source
properties=
(properties :
Array
(
JSON::Any
) |
Nil
)
Source
socket
Source
socket=
(socket :
TCPSocket
)
Source
state
Source
state=
(state :
ProtocolState
)
Source
username
Source
username=
(username :
String
|
Nil
)
Source
uuid
Source
uuid=
(uuid :
String
|
Nil
)
Source
Nested types
ClientData::Encryption
ClientData::KeepAlive