Module http_std

Module http_std 

Source

Structs§

HttpError
HTTP error structure
HttpResponse
HTTP response structure
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
parse_proxy
web_get
Synchronous version of web_get_async that uses tokio runtime to run the async function
web_get_async
Makes an HTTP request to the specified URL
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
web_patch_async
Makes an HTTP PATCH request to the specified URL
web_post_async
Makes an HTTP POST request to the specified URL