Preparing search index...
The search index is not available
unit-redis-ness
unit-redis-ness
server/default-session
DefaultSession
Class DefaultSession
Hierarchy
Session
DefaultSession
Index
Constructors
constructor
Properties
commands?
current
Db
id
last
Command
logger
name
socket
state
Methods
abort
Transaction
close
get
Address
get
Current
Db
get
Id
get
Last
Command
get
Name
get
Subscription
get
Subscription
Names
get
Transaction
get
Value
in
Transaction
is
Errored
is
Subscribed
publish
put
Value
queue
Request
remove
Value
set
Current
Db
set
Error
set
Last
Command
set
Name
start
Transaction
subscribe
un
Subscribe
Constructors
constructor
new
Default
Session
(
id
,
socket
)
:
DefaultSession
Parameters
id
:
string
socket
:
Socket
Returns
DefaultSession
Properties
Protected
Optional
commands
commands
?:
ICmdReq
[]
= []
Private
current
Db
current
Db
:
number
= 0
Private
id
id
:
string
Private
last
Command
last
Command
:
string
= ""
Protected
logger
logger
:
Logger
= ...
Private
name
name
:
string
= ""
Private
socket
socket
:
Socket
Private
state
state
:
Dictionary
<
string
,
string
>
= ...
Methods
abort
Transaction
abort
Transaction
(
)
:
boolean
Returns
boolean
close
close
(
)
:
void
Returns
void
get
Address
get
Address
(
)
:
string
Returns
string
get
Current
Db
get
Current
Db
(
)
:
number
Returns
number
get
Id
get
Id
(
)
:
string
Returns
string
get
Last
Command
get
Last
Command
(
)
:
string
Returns
string
get
Name
get
Name
(
)
:
string
Returns
string
get
Subscription
get
Subscription
(
channel
)
:
TimedEmitter
Parameters
channel
:
string
Returns
TimedEmitter
get
Subscription
Names
get
Subscription
Names
(
)
:
string
[]
Returns
string
[]
get
Transaction
get
Transaction
(
)
:
ICmdReq
[]
Returns
ICmdReq
[]
get
Value
get
Value
(
key
)
:
any
Parameters
key
:
string
Returns
any
in
Transaction
in
Transaction
(
)
:
boolean
Returns
boolean
is
Errored
is
Errored
(
)
:
boolean
Returns
boolean
is
Subscribed
is
Subscribed
(
channel
)
:
boolean
Parameters
channel
:
string
Returns
boolean
publish
publish
(
message
)
:
void
Parameters
message
:
AbstractRedisToken
<
any
>
Returns
void
put
Value
put
Value
(
key
,
value
)
:
void
Parameters
key
:
string
value
:
any
Returns
void
queue
Request
queue
Request
(
cmdReq
)
:
void
Parameters
cmdReq
:
ICmdReq
Returns
void
remove
Value
remove
Value
(
key
)
:
void
Parameters
key
:
string
Returns
void
set
Current
Db
set
Current
Db
(
db
)
:
void
Parameters
db
:
number
Returns
void
set
Error
set
Error
(
)
:
void
Returns
void
set
Last
Command
set
Last
Command
(
cmd
)
:
void
Parameters
cmd
:
string
Returns
void
set
Name
set
Name
(
name
)
:
void
Parameters
name
:
string
Returns
void
start
Transaction
start
Transaction
(
)
:
boolean
Returns
boolean
subscribe
subscribe
(
channel
,
emitter
)
:
void
Parameters
channel
:
string
emitter
:
TimedEmitter
Returns
void
un
Subscribe
un
Subscribe
(
channel
)
:
void
Parameters
channel
:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
commands
current
Db
id
last
Command
logger
name
socket
state
abort
Transaction
close
get
Address
get
Current
Db
get
Id
get
Last
Command
get
Name
get
Subscription
get
Subscription
Names
get
Transaction
get
Value
in
Transaction
is
Errored
is
Subscribed
publish
put
Value
queue
Request
remove
Value
set
Current
Db
set
Error
set
Last
Command
set
Name
start
Transaction
subscribe
un
Subscribe
unit-redis-ness
client
dictionary
logger
lua/bit/lua-bit
lua/call/lua-redis
resp/command/client-command
resp/command/db/dbsize-command
resp/command/db/flushall-command
resp/command/db/flushdb-command
resp/command/db/select-command
resp/command/discard-command
resp/command/exec-command
resp/command/hash/hget-command
resp/command/hash/hgetall-command
resp/command/hash/hset-command
resp/command/key/del-command
resp/command/key/exists-command
resp/command/key/expire-command
resp/command/key/keys-command
resp/command/key/move-command
resp/command/key/pexpire-command
Loading...