Skip to main content

Crate openapp_sdk

Crate openapp_sdk 

Source
Expand description

Rust-first OpenApp SDK — thin re-export of openapp_sdk_core.

Prefer this crate for Rust applications so version lines stay independent of the internal openapp-sdk-core crate while tracking the same wire behavior.

Modules§

auth
Authentication providers.
client
The top-level Client and its builder.
error
Error types surfaced by every SDK call.
interceptor
Request / response interceptors.
resources
Per-OpenAPI-tag sub-clients.
retry
Retry policy configuration.
telemetry
Tracing / telemetry configuration.
transport
HTTP transport engine shared by every sub-client.

Structs§

ApiErrorResponse
JSON body returned by the OpenApp API for non-2xx responses.
ApiKey
A parsed OpenApp API-key token.
Client
High-level SDK client. Cheap to clone — all heavy state sits behind an Arc.
ClientBuilder
Fluent builder for Client. Use Client::builder to construct one.
ClientConfig
User-visible client configuration snapshot (read-only after ClientBuilder::build).

Enums§

SdkError
Exhaustive error returned by the high-level client.
TokenFormatError
Errors raised when parsing an OpenApp API-key token.

Constants§

SDK_NAME
The SDK name we advertise in the User-Agent header.
SDK_VERSION
The SDK version (kept in sync with Cargo.toml).

Traits§

Interceptor
Hook invoked around every outgoing HTTP request.