Module http

Module http 

Source

Re-exports§

pub use crate::utils::http_std::get_sub_info_from_header;
pub use crate::utils::http_std::get_sub_info_from_response;
pub use crate::utils::http_std::parse_proxy;
pub use crate::utils::http_std::web_get;
pub use crate::utils::http_std::web_get_async;
pub use crate::utils::http_std::web_patch_async;
pub use crate::utils::http_std::web_post_async;
pub use crate::utils::http_std::HttpError;
pub use crate::utils::http_std::HttpResponse;
pub use crate::utils::http_std::ProxyConfig;

Functions§

get_sub_info_from_header
Extract subscription info from HTTP headers
get_sub_info_from_response
Get subscription info from response headers with additional formatting
web_get_content_async
Asynchronous function that returns only the body content if status is 2xx, otherwise treats as error This provides backward compatibility with code expecting only successful responses