rainmaker_components/
http.rs

1pub(crate) mod base;
2pub use base::*;
3
4mod http_esp;
5mod http_linux;
6
7#[cfg(target_os = "espidf")]
8pub type HttpServer = base::HttpServer<esp_idf_svc::http::server::EspHttpServer<'static>>;
9
10#[cfg(target_os = "linux")]
11pub type HttpServer = base::HttpServer<http_linux::HttpServerLinux>;