Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
resp-server
master
RESP
Connection
Server
Built with Crystal 1.9.2
2023-10-07 16:21:38 UTC
class
RESP::Server
RESP::Server
Reference
Object
Defined in:
resp-server/server.cr
Constant Summary
Log
=
::
Log
.
for
(
self
)
Constructors
.new
(host : String =
"0.0.0.0"
, port : String | Int32 =
6379
)
Instance Method Summary
#handle_client
(socket, block)
#listen
(&block : RESP::Connection -> )
Constructor Detail
def self.
new
(host : String =
"0.0.0.0"
, port : String | Int32 =
6379
)
#
[
View source
]
Instance Method Detail
def
handle_client
(socket, block)
#
[
View source
]
def
listen
(&block :
RESP::Connection
-> )
#
[
View source
]