ResponseHandlerInterface
in
Defines a pluggable handler used to parse a particular type of response.
Tags
Table of Contents
- handle() : mixed
- Deserializes a response returned by Redis and reads more data from the connection if needed.
Methods
handle()
Deserializes a response returned by Redis and reads more data from the connection if needed.
public
handle(CompositeConnectionInterface $connection, string $payload) : mixed
Parameters
- $connection : CompositeConnectionInterface
-
Redis connection.
- $payload : string
-
String payload.