Google API Core Client - Class ResponseMetadataMiddleware (1.36.0)

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

Middleware which transforms $response into [$response, $metadata]

Namespace

Google \ ApiCore \ Middleware

Methods

__construct

Parameter
Name
Description
nextHandler
callable

__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
options
array
Create a Mobile Website
View Site in Mobile | Classic
Share by: