Skip to main content

Crate ugi

Crate ugi 

Source

Re-exports§

pub use download::DownloadBuilder;
pub use download::DownloadCapabilities;
pub use download::DownloadDigest;
pub use download::DownloadResult;
pub use download::HashAlgorithm;

Modules§

download
Concurrent range-based file downloader.

Structs§

Body
An HTTP request or response body.
Client
The main HTTP client.
ClientBuilder
Builder for Client.
CloseFrame
CookieJar
CookieMiddleware
DnsConfig
Configuration for the built-in DNS resolver and cache.
Error
An error returned by ugi operations.
GrpcDuplexCall
GrpcRequestBuilder
GrpcResponse
GrpcStatus
GrpcStreamingResponse
H2KeepAliveConfig
HTTP/2 connection keep-alive (PING frame) configuration.
HeaderMap
An ordered, multi-valued HTTP header map.
HeaderName
A validated, lowercase HTTP header name.
HeaderValue
A validated HTTP header value.
Metrics
Per-request timing and connection diagnostics.
MultipartPart
A single part in a multipart/form-data request body.
Next
A handle to the remaining middleware chain and underlying transport.
PoolConfig
Configuration for the per-host idle connection pool.
Progress
A snapshot of transfer progress at a point in time.
ProgressConfig
Controls how frequently progress callbacks are fired.
ProxyAuth
Username/password credentials for proxy authentication.
RateLimiter
A cloneable, shared token-bucket rate limiter.
Request
RequestBuilder
Response
An HTTP response returned by a completed request.
SseEvent
A single Server-Sent Event parsed from a text/event-stream response.
StatusCode
An HTTP status code (e.g. 200, 404).
TimeoutConfig
Controls per-request and total timeout durations.
TlsConfig
TLS configuration for a Client or individual request.
Url
A parsed HTTP/HTTPS/WS/WSS URL.
WebSocket
WebSocketBuilder

Enums§

CompressionMode
Controls how the client handles response body compression.
ErrorKind
Categorises the cause of an Error.
GrpcCodec
Method
HTTP request method.
ProgressPhase
Whether a progress event relates to uploading or downloading.
ProtocolPolicy
Controls which HTTP protocol version the client prefers or requires.
Proxy
A proxy server to route requests through.
RedirectPolicy
Controls how many HTTP redirects the client will follow automatically.
RetryPolicy
Controls how many times a failed request may be retried.
RootStore
Source of trusted root certificates for TLS verification.
TlsBackend
Selects the TLS implementation to use.
Version
HTTP protocol version used for a response.
WebSocketMessage

Traits§

Middleware
Middleware hook that intercepts outbound requests and/or inbound responses.

Functions§

delete
get
grpc
head
options
patch
post
put
request
trace
ws

Type Aliases§

BodyStream
A pinned, boxed async byte stream used as a streaming request or response body.
BytesStream
Result
SseStream