AnyEvent-RipeRedis
view release on metacpan or search on metacpan
Database index. If the index is specified, the client switches to the specified
database after connection. You can also switch to another database after
connection by using `SELECT` command. The client remembers last selected
database after reconnection and switches to it automaticaly.
The default database index is `0`.
- utf8 => $boolean
If enabled, all strings will be converted to UTF-8 before sending to
the server, and all results will be decoded from UTF-8.
Enabled by default.
- connection\_timeout => $fractional\_seconds
Specifies connection timeout. If the client could not connect to the server
after specified timeout, the `on_error` callback is called with the
`E_CANT_CONN` error. The timeout specifies in seconds and can contain a
fractional part.
lib/AnyEvent/RipeRedis.pm view on Meta::CPAN
Database index. If the index is specified, the client switches to the specified
database after connection. You can also switch to another database after
connection by using C<SELECT> command. The client remembers last selected
database after reconnection and switches to it automaticaly.
The default database index is C<0>.
=item utf8 => $boolean
If enabled, all strings will be converted to UTF-8 before sending to
the server, and all results will be decoded from UTF-8.
Enabled by default.
=item connection_timeout => $fractional_seconds
Specifies connection timeout. If the client could not connect to the server
after specified timeout, the C<on_error> callback is called with the
C<E_CANT_CONN> error. The timeout specifies in seconds and can contain a
fractional part.
( run in 0.689 second using v1.01-cache-2.11-cpan-26ccb49234f )