Privatize the http_loader module.

This commit is contained in:
Ms2ger 2016-11-04 11:46:35 +01:00
parent 697275dea3
commit a888f075a1
3 changed files with 10 additions and 4 deletions

View file

@ -58,7 +58,7 @@ mod data_loader;
mod file_loader;
pub mod filemanager_thread;
pub mod hsts;
pub mod http_loader;
mod http_loader;
pub mod image_cache_thread;
pub mod mime_classifier;
pub mod resource_thread;
@ -70,3 +70,9 @@ pub mod fetch {
pub mod cors_cache;
pub mod methods;
}
/// A module for re-exports of items used in unit tests.
pub mod test {
pub use http_loader::{HttpRequest, HttpRequestFactory, HttpResponse, HttpState};
pub use http_loader::{LoadError, LoadErrorType, UIProvider, load};
}