Private
loggerPrivate
serverPrivate
serverStatic
Private
DEFAULT_Static
Private
DEFAULT_Static
Readonly
captureStatic
captureSets or gets the default captureRejection value for all emitters.
Static
defaultStatic
Readonly
errorThis symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Private
parsePrivate
parsePrivate
parseRest
...args: any[]Rest
...args: any[]Receive the client request, convert it to RESP format, dispatch the request then respond to the client.
Probably too busy. Should be refactored.
The client session (including socket)
The client request
Private
registerOptional
event: string | symbolRest
...args: any[]Private
toStatic
listenerStatic
onStatic
once
The redis server. Manages client request/response cycle.
Listens, by default, to env.DEFAULT_HOST (localhost) on port env.DEFAULT_PORT (6379)