Crate net_traits
source ·Modules§
- An implementation of the Fetch specification
- Implementation of public domain matching.
- The Response object resulting from a fetch operation
Structs§
- 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.
- 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.
- Metadata about a loaded resource, such as is obtained from HTTP headers.
Enums§
- The creator of a given cookie
- IPC channels to communicate with the script thread about network or DOM events.
- A loading context, for context-specific sniffing, as defined in https://mimesniff.spec.whatwg.org/#context-specific-sniffing
- Network errors that have to be exported out of the loaders
- Policies for providing a referrer header for a request
Statics§
Traits§
- Abstraction of the ability to send a particular type of message, used by net_traits::ResourceThreads to ease the use its IpcSender sub-fields XXX: If this trait will be used more in future, some auto derive might be appealing
Functions§
- Instruct the resource thread to make a new request.
- Normalize
slice
, as defined by the Fetch Spec.
Type Aliases§
- Handle to a resource thread