Skip to main content

Module request_response

Module request_response 

Source
Expand description

HTTP request building and response parsing module

Provides HTTP/1.1 request building, response parsing, and authentication. Supports fluent API for building HTTP requests with automatic standard headers.

Structs§

HttpRequest
HTTP 请求结构体
HttpRequestBuilder
HTTP 请求构建器 (Fluent API)
HttpResponse
HTTP 响应结构体

Enums§

HttpMethod
HTTP 请求方法枚举

Functions§

basic_auth
Generate Basic Auth header value
bearer_token
Generate Bearer Token header value