Package-level declarations
Types
A class which can be used to abort an API request after it was made.
Default values for fetch (or methods that delegate to fetch).
A class with a slightly friendlier API than using Window.fetch directly by providing HTTP method helper methods.
Body contents that can be set when calling fetch.
An exception that gets thrown if we receive a response whose body cannot be converted into raw bytes.
Functions
Returns the current body of the target Response.
Create a text body.
A Kotlin-idiomatic version of the standard library's WindowOrWorkerGlobalScope.fetch function.
A convenience method for fetch built around the common case of sending / receiving raw bytes.
A convenience version of fetch that returns null instead of throwing if the request fails.
Like fetchBytes but returns null if the fetch fails or the body can't be read.