Docs.rs
sh-layer1-1.0.2
sh-layer1 1.0.2
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
EnjouZeratul
Dependencies
anyhow ^1.0
normal
async-stream ^0.3
normal
async-trait ^0.1
normal
chrono ^0.4
normal
config ^0.14
normal
dirs ^5.0
normal
futures ^0.3
normal
metrics ^0.24
normal
optional
metrics-exporter-prometheus ^0.15
normal
optional
moka ^0.12
normal
opentelemetry ^0.27
normal
optional
opentelemetry-otlp ^0.27
normal
optional
parking_lot ^0.12
normal
reqwest ^0.12
normal
serde ^1.0
normal
serde_json ^1.0
normal
sh-layer0 ^1.0.2
normal
sled ^0.34
normal
thiserror ^2.0
normal
tokio ^1.40
normal
tokio-tungstenite ^0.26
normal
toml ^0.8
normal
tracing ^0.1
normal
tracing-opentelemetry ^0.28
normal
optional
tracing-subscriber ^0.3
normal
uuid ^1.11
normal
criterion ^0.5
dev
dashmap ^6.1
dev
tempfile ^3.14
dev
wiremock ^0.6
dev
Versions
70.69%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module http
sh_
layer1
1.0.2
Module http
Sections
特性
Module Items
Structs
Enums
Traits
In sh_
layer1::
streaming
sh_layer1
::
streaming
Module
http
Copy item path
Source
Expand description
HTTP 流式适配器
提供基于 reqwest 的 HTTP 流式响应处理。
§
特性
流式请求/响应
SSE (Server-Sent Events) 支持
请求超时和重试
请求/响应拦截器
Structs
§
Http
Adapter
HTTP 适配器
Http
Config
HTTP 配置
Http
Request
HTTP 请求配置
Http
Response
Stream
HTTP 响应流
SseStream
SSE 流
Enums
§
Http
Method
HTTP 请求方法
Traits
§
Http
Adapter
Trait
HTTP 适配器 trait