WithMiddleware returns a RequestOption that applies the given middleware.
func WithMiddleware(middlewares ...Middleware) RequestOptionWithMiddleware returns a RequestOption that applies the given middleware to the requests made. Each middleware will execute in the order they were given.
| Name | Type | Description |
|---|---|---|
middlewares* | ...Middleware |