Skip to main content

Module network

Module network 

Source
Expand description

Network processing module, providing HTTP communication, cache, and cookie management.

Re-exports§

pub use cache::Cache;
pub use config::NetworkConfig;
pub use cookie_store::CookieStore;
pub use error::NetworkError;
pub use sender_pool::HostKey;
pub use sender_pool::HttpSender;
pub use sender_pool::SenderPool;

Modules§

cache
In-memory HTTP response cache with TTL and LRU eviction.
config
ネットワーク層の設定。タイムアウト、キャッシュ、ユーザーエージェント。
cookie_store
Cookie storage and management for HTTP requests.
error
Network error types.
sender_pool
HTTP Sender Pool. HTTP/1 と HTTP/2 の Sender を統一的に管理できるプール。

Structs§

AsyncNetworkCore
Per-thread driver for the shared network state.
NetworkCore
NetworkMessage
NetworkRequest
Serializable HTTP request passed to the network process.
Request
Represents an HTTP request.
Response
HTTP response
SharedNetState
TLS, cache and config shared by every fetch worker.
StatusCode

Enums§

NetworkCommand

Functions§

network_main
ネットワークプロセスエントリ