9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Interfaces

InterfaceDescription
HttpContentHandler-

Variables

VariableDescription
requestMakes a generic http request using the provided options and returns a HttpResponse Object.

Functions

FunctionDescription
getBinaryDownloads the content from the specified URL as binary and returns an ArrayBuffer.
getFileDownloads the content from the specified URL and attempts to save it as file.
getImageDownloads the content from the specified URL and attempts to decode it as an image.
getJSONDownloads the content from the specified URL as a string and returns its JSON.parse representation.
getStringDownloads the content from the specified URL as a string.

References

Headers

Re-exports Headers


HttpContent

Re-exports HttpContent


HttpRequestOptions

Re-exports HttpRequestOptions


HttpResponse

Re-exports HttpResponse


HttpResponseEncoding

Re-exports HttpResponseEncoding

Previous
parse