Crate deno_fetch

Source

Re-exports§

pub use data_url;

Modules§

dns

Structs§

Client
ClientSendError
CreateHttpClientArgs
CreateHttpClientOptions
DefaultFileFetchHandler
A default implementation which will error for every request.
FetchCancelHandle
FetchRequestResource
FetchResponse
FetchResponseResource
FetchReturn
FsFetchHandler
An implementation which tries to read file URLs from the file system via tokio::fs.
HttpClientResource
Options
ResourceToBodyAdapter
deno_fetch
An extension for use with the Deno JS runtime. To use it, provide it as an argument when instantiating your runtime:

Enums§

FetchError
FetchResponseReader
FsError
HttpClientCreateError
ReqBody

Traits§

FetchHandler
FetchPermissions

Functions§

basic_auth
create_client_from_options
create_http_client
Create new instance of async Client. This client supports proxies and doesn’t follow redirects.
extract_authority
Copied from https://github.com/seanmonstar/reqwest/blob/b9d62a0323d96f11672a61a17bf8849baec00275/src/async_impl/request.rs#L572 Check the request URL for a “username:password” type authority, and if found, remove it from the URL and return it.
get_or_create_client_from_state
op_fetch
op_fetch_custom_client
op_fetch_send
op_utf8_to_byte_string

Type Aliases§

CancelableResponseFuture
ResBody