WithURI initializes the URI where the request is sent.
(uri string)
| 60 | |
| 61 | // WithURI initializes the URI where the request is sent. |
| 62 | func WithURI(uri string) Option { |
| 63 | return func(o *opts) { |
| 64 | o.uri = uri |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | // WithContentType sets the content type header for the HTTP requests. |
| 69 | func WithContentType(contentType string) Option { |
no outgoing calls