def pool.how
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
4303# pool.how(p, "GET", "https://example.com/x?y=1", headers, body, ms, mode) follows redirects
4304# on p's idle sockets. Fail is a bad URL, a failed lookup, connect, handshake, send, read,
4305# a malformed response, more than 20 redirects, or a step past ms. Bodies are bytes.
4306def pool.how(p: Pool, method: String, url: String, headers: Map<&2, List<&2, String>>, body: Bytes.Bytes, ms: U32, mode: Mode) -> IO(Pool & Result<&1, &1, Err, Res>):
4307 pool.how.cert(p, method, url, headers, body, ms, mode, None{})