ic_agent/agent/http_transport/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//! [`Transport`](super::Transport) implementations.

#[cfg(feature = "reqwest")]
pub mod reqwest_transport;

#[cfg(feature = "reqwest")]
#[doc(inline)]
pub use reqwest_transport::ReqwestTransport;

#[cfg(feature = "hyper")]
pub mod hyper_transport;

#[cfg(feature = "hyper")]
#[doc(inline)]
pub use hyper_transport::HyperTransport;

#[allow(dead_code)]
const IC0_DOMAIN: &str = "ic0.app";
#[allow(dead_code)]
const ICP0_DOMAIN: &str = "icp0.io";
#[allow(dead_code)]
const ICP_API_DOMAIN: &str = "icp-api.io";
#[allow(dead_code)]
const LOCALHOST_DOMAIN: &str = "localhost";
#[allow(dead_code)]
const IC0_SUB_DOMAIN: &str = ".ic0.app";
#[allow(dead_code)]
const ICP0_SUB_DOMAIN: &str = ".icp0.io";
#[allow(dead_code)]
const ICP_API_SUB_DOMAIN: &str = ".icp-api.io";
#[allow(dead_code)]
const LOCALHOST_SUB_DOMAIN: &str = ".localhost";
pub mod route_provider;