Google API Core Client - Class PagedMiddleware (1.35.0)

Reference documentation and code samples for the Google API Core Client class PagedMiddleware.

Middleware which wraps the response in an PagedListResponses object.

Namespace

Google \ ApiCore \ Middleware

Methods

__construct

Parameters
Name Description
nextHandler callable
descriptor Google\ApiCore\PageStreamingDescriptor

__invoke

Modify or observe the API call request and response.

The returned value must include the result of the next MiddlewareInterface invocation in the chain.

Parameters
Name Description
call Google\ApiCore\Call
options array