Handlers / Middleware
Last updated
Last updated
If you need to modify the underlying Guzzle request/response right before it is sent, you can use handlers. This is an incredibly useful feature that Guzzle provides to view/modify the request before it is sent.
To add a handler or middleware, simply use the addHandler
method in your plugin or boot
method on your connector/request.