Skip to Content
i documentation
Standard library referenceModules

i/fetch

Fetch transport. Response handles belong to the current resource context.

Fetch

Fetch = (

Response

Response = (Int)

open

open = (method, url, headers, body) <- (raw : Fetch) {

status

status = (Response(id)) <- (raw : Fetch) {

headers

headers = (Response(id)) <- (raw : Fetch) {

read

read = (Response(id), max) <- (raw : Fetch) {

close

close = (Response(id)) <- (raw : Fetch) { request.await_owned(raw.close(id)) }