Crate retina_fetch

source ·
Expand description

Re-exports

Structs

Enums

  • An error that can occur within the library or network stack.
  • An error that occurred within the retina-fetch crate.
  • A network error occurred whilst processing the request/response.
  • The Request Destination specifies what the destination of this fetch is.
  • The Request Initiator specifies which component started the request.
  • The request has an associated mode, which is an important concept in Cross Origin Resource Sharing.
  • Specifies the type of referrer a request should be associated with. Most requests have a specific origin, most likely a script or document, that initiated/linked the resource pointed to by this request. For example, a HTML document might have images (<img>), and those images should be requested from a server. To follow web security practices, a HTTP Referer header should be associated with the request.
  • The class of the status code determine the result of the request and the semantics of the response.

Functions

  • Parse a page URL. This function is laxer than the regular Url::parse() parser, since the user can omit certain elements (like the scheme).

Type Aliases