EXPIRE - 设置过期时间(秒)

Request/Response
为键设置生存时间(以秒为单位),过期后键会被自动删除。

Basic Info

Mode
Request/Response
Endianness
big-endian
Charset
utf8
Newline
default

Communicator

Connection Name
默认服务器

Request Parameter

Format
raw
Escape
No
Newline Style
CRLF
Charset
utf8
Text Template raw
*3
$6
EXPIRE
${{key.length}}
{{key}}
${{seconds.length}}
{{seconds}}

Template Variables

key
要设置过期时间的键名 session:abc
seconds
过期时间(秒),必须为正整数 3600

Response Parser

Format
raw
Line Wrapping
No
Append Newline
No
Show Timestamp
No
Clear on Execute
No
Scroll to Bottom
No