StreamableMultiBulkResponse
in package
implements
ResponseHandlerInterface
Handler for the multibulk response type in the standard Redis wire protocol.
It returns multibulk responses as iterators that can stream bulk elements.
Streamable multibulk responses are not globally supported by the abstractions built-in into Predis, such as transactions or pipelines. Use them with care!
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.