[][src]Module yew::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.

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.

Window

The Window class.

WorkerGlobalScope

The WorkerGlobalScope class.

Enums

Cache

The RequestCache enum.

Credentials

The RequestCredentials enum.

Mode

The RequestMode enum.

Redirect

The RequestRedirect enum.

Referrer

Type to set referrer for fetch.