@hatch:http v0.3.2
HTTP/1.1 client with TLS, streaming bodies, and fiber-cooperative reads.
$
hatch add @hatch:http
HTTP/1.1 client with TLS, streaming bodies, and fiber-cooperative reads.
Response.new_(status, headers, body)
Response.status
Response.body
Response.headerMap
Response.ok
Response.json
Response.toString
Response.header(name)
Response.headers(name)
Response.static lower_(s)
StreamingResponse.new_(id, status, headers)
StreamingResponse.status
StreamingResponse.headerMap
StreamingResponse.body
StreamingResponse.bodyAsync
StreamingResponse.ok
StreamingResponse.close
StreamingResponse.toString
StreamingResponse.header(name)
StreamingResponse.headers(name)
Http.static get(url)
Http.static get(url, options)
Http.static post(url, options)
Http.static put(url, options)
Http.static patch(url, options)
Http.static delete(url)
Http.static delete(url, options)
Http.static head(url)
Http.static request(method, url, options)
Http.static stream(method, url)
Http.static stream(method, url, options)
Http.static getStream(url)
Http.static getStream(url, options)
Http.static prepare_(method, url, options, label)
Http.static setIfAbsent_(headers, name, value)