Modules§
- blob_
url_ store - fetch
- filemanager_
thread - http_
status - image_
cache - mime_
classifier - policy_
container - pub_
domains - Implementation of public domain matching.
- quality
- request
- resource_
fetch_ 🔒timing - response
- The Response object resulting from a fetch operation
Structs§
- Blob
Token Refresh Request - Blob
Token Revocation Request - Cache
Entry Descriptor - Cookie
Async Response - Cookie
Change - Cookie
Operation Id - Identifies a pending asynchronous cookie operation initiated by the embedder.
- Custom
Response - Custom
Response Mediator - Discard
Fetch - A fetch task that discards all data it’s sent, useful when speculatively prefetching data that we don’t need right now, but might need in the future.
- Fetch
Thread - A thread to handle fetches in a Servo process. This thread is responsible for listening for new fetch requests as well as updates on those operations and forwarding them to crossbeam channels.
- Fetch
Thread 🔒Handle - Metadata
- Metadata about a loaded resource, such as is obtained from HTTP headers.
- Resource
Cors Data - Resource
Fetch Timing - Resource
Fetch Timing Container - A simple container of
ResourceFetchTimingto allow easy sharing between threads and allow to set multiple attributes in sequence. - Resource
Threads - Servo
Cipher Suite - Servo
Named Group - Servo
Protocol Version - Site
Descriptor - TlsSecurity
Info
Enums§
- Cookie
Data - Cookie
Source - The creator of a given cookie
- Core
Resource Msg - Fetch
Channels - IPC channels to communicate with the script thread about network or DOM events.
- Fetch
Metadata - Fetch
Response Msg - Filtered
Metadata - Include
Subdomains - Load
Context - A loading context, for context-specific sniffing, as defined in https://mimesniff.spec.whatwg.org/#context-specific-sniffing
- Message
Data - Network
Error - Network errors that have to be exported out of the loaders
- Redirect
EndValue - Redirect
Start Value - Referrer
Policy - Policies for providing a referrer header for a request
- Resource
Attribute - Resource
Time Value - Resource
Timing Type - TlsSecurity
State - ToFetch
Thread 🔒Message - WebSocket
DomAction - WebSocket
Network Event
Constants§
Statics§
Traits§
- Async
Runtime - Handle to an async runtime, only used to shut it down for now.
- Fetch
Task Target
Functions§
- cancel_
and_ forget_ async_ fetch - Instruct the resource thread to cancel an existing request. Does nothing if the request has already completed or has not been fetched yet. This also “forgets” the request, which means that no further callbacks will be called when canceled.
- cancel_
async_ fetch - Instruct the resource thread to cancel an existing request. Does nothing if the request has already completed or has not been fetched yet.
- ends_
with_ ignore_ ascii_ case - Returns true if a given string has a given suffix with case-insensitive match.
- fetch_
async - Instruct the fetch thread to start a new asynchronous fetch request.
- get_
current_ locale - Returns the cached current system locale, or en-US by default.
- set_
default_ accept_ language - Step 12 of https://fetch.spec.whatwg.org/#concept-fetch
- trim_
http_ whitespace - Normalize
slice, as defined by the Fetch Spec.
Type Aliases§
- Boxed
Fetch Callback - Core
Resource Thread - Handle to a resource thread