net/
lib.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5#![deny(unsafe_code)]
6
7pub mod async_runtime;
8pub mod connector;
9pub mod cookie;
10pub mod cookie_storage;
11mod decoder;
12mod devtools;
13pub mod embedder;
14pub mod filemanager_thread;
15mod hosts;
16pub mod hsts;
17pub mod http_cache;
18pub mod http_loader;
19pub mod image_cache;
20pub mod local_directory_listing;
21pub mod protocols;
22pub mod request_interceptor;
23pub mod resource_thread;
24pub mod subresource_integrity;
25#[cfg(feature = "test-util")]
26pub mod test_util;
27mod websocket_loader;
28
29/// An implementation of the [Fetch specification](https://fetch.spec.whatwg.org/)
30pub mod fetch {
31    pub mod cors_cache;
32    pub mod fetch_params;
33    pub mod headers;
34    pub mod methods;
35}
36
37/// A module for re-exports of items used in unit tests.
38pub mod test {
39    pub use crate::decoder::DECODER_BUFFER_SIZE;
40    pub use crate::hosts::parse_hostsfile;
41    pub use crate::http_loader::HttpState;
42}