Module request_common

Source

Enumsยง

HTTPRequestMethod ๐Ÿ”’
Enum representing the four primary HTTP request methods.
RequestError ๐Ÿ”’
Errors that may occur while constructing or performing an HTTP request.

Traitsยง

HTTPRequestType ๐Ÿ”’
Base trait for all types representing HTTP requests.
JSONBodyHTTPRequestType ๐Ÿ”’
Trait for request types that send a JSON body and expect a structured response.
MultipartBodyHTTPRequestType ๐Ÿ”’
Trait for requests that send multipart form data (e.g., file uploads).
NoBodyHTTPRequestType ๐Ÿ”’
Trait for requests that do not include a request body.

Functionsยง

bool_to_string ๐Ÿ”’
Converts a bool value to a string slice ("true" or "false").