Context adds a context to the request. Contexts are only used for timeouts, deadlines, and cancellations.
(ctx context.Context)
| 414 | // Context adds a context to the request. Contexts are only used for |
| 415 | // timeouts, deadlines, and cancellations. |
| 416 | func (r *Request) Context(ctx context.Context) *Request { |
| 417 | r.ctx = ctx |
| 418 | return r |
| 419 | } |
| 420 | |
| 421 | // URL returns the current working URL. |
| 422 | func (r *Request) URL() *url.URL { |
no outgoing calls