class FixedHeaderMiddleware (View source)

Middleware to add fixed headers to an API call.

Methods

__construct(callable $nextHandler, array $headers, bool $overrideUserHeaders = false)

No description

__invoke(Call $call, array $options)

No description

Details

__construct(callable $nextHandler, array $headers, bool $overrideUserHeaders = false)

No description

Parameters

callable $nextHandler
array $headers
bool $overrideUserHeaders

__invoke(Call $call, array $options)

No description

Parameters

Call $call
array $options