def client.request.opts

emerging-ezhttp@0.21.0.0 · src/client.bend:146

import emerging-ezhttp@0.21.0.0/src/client.bend as Client
import Base
import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import emerging-ezhttp@0.21.0.0/src/body.bend as Body
import emerging-ezhttp@0.21.0.0/src/redirect.bend as Redirect

146# a request with a method, headers, body and timeout; it follows redirects
147# when `follow` is set and the method is GET (redirect.bend
148# redirect.follows), and answers its first response otherwise
149def client.request.opts(+method: String, url: String,
150  headers: List<&2, Http.Header>, body: Body.Body, ms: U32, follow: Bool)
151  -> IO(Response):
152  client.request.go(Redirect.redirect.follows(method, follow), method, url,
153    headers, body, ms)

Uses (10)

Used by (2)