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