[][src]Module seed::fetch

High-level interface for web_sys HTTP requests.

Structs

FetchObject

Return type for Request.fetch* methods.

Request

Request is the entry point for all fetch requests. Its methods configure the request, and handle the response. Many of them return the original struct, and are intended to be used chained together.

RequestController

It allows to abort request or disable request's timeout. You can get it by calling method Request.controller.

Response
ResponseWithDataResult
Status

Response status.

Enums

DataError
FailReason
Method

HTTP Method types.

RequestError
StatusCategory

Type Definitions

DataResult

Type for ResponseWithDataResult.data.

DomException
FetchResult

Type for FetchObject.result.

ResponseDataResult

Return type for FetchObject.response_data().

ResponseResult

Return type for FetchObject.response().