[][src]Module yew_stdweb::services::fetch

Service to send HTTP-request to a server.

Structs

FetchOptions

Init options for fetch() function call. https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch

FetchService

A service to fetch resources.

FetchTask

A handle to control sent requests. Can be canceled with a Task::cancel call.

HeaderMap

A set of HTTP headers

Method

The Request Method (VERB)

Request

Represents an HTTP request.

Response

Represents an HTTP response

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).

Uri

The URI component of a request.

Enums

Cache

Type to set cache for fetch.

Credentials

Type to set credentials for fetch.

Mode

Type to set mode for fetch.

Redirect

Type to set redirect behaviour for fetch.

Referrer

Type to set referrer for fetch.

ReferrerPolicy

Type to set referrer policy for fetch.