BulkResponse
in package
implements
ResponseHandlerInterface
Handler for the bulk response type in the standard Redis wire protocol.
It translates the payload to a string or a NULL.
Tags
Interfaces, Classes and Traits
- ResponseHandlerInterface
- Defines a pluggable handler used to parse a particular type of response.
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, mixed $payload) : mixed
Parameters
- $connection : CompositeConnectionInterface
-
Redis connection.
- $payload : mixed
-
String payload.