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;
12pub mod filemanager_thread;
13mod hosts;
14pub mod hsts;
15pub mod http_cache;
16pub mod http_loader;
17pub mod image_cache;
18pub mod indexeddb;
19pub mod local_directory_listing;
20pub mod protocols;
21pub mod request_interceptor;
22pub mod resource_thread;
23mod storage_thread;
24pub mod subresource_integrity;
25mod websocket_loader;
26
27/// An implementation of the [Fetch specification](https://fetch.spec.whatwg.org/)
28pub mod fetch {
29    pub mod cors_cache;
30    pub mod fetch_params;
31    pub mod headers;
32    pub mod methods;
33}
34
35/// A module for re-exports of items used in unit tests.
36pub mod test {
37    pub use crate::decoder::DECODER_BUFFER_SIZE;
38    pub use crate::hosts::{parse_hostsfile, replace_host_table};
39    pub use crate::http_loader::HttpState;
40}