Skip to main content

Module api_client

Module api_client 

Source
Expand description

HTTP client used by sync push/pull/deploy.

Handles direct-sync vs. cloud-relay endpoint selection, bearer-token auth, retryable failures with exponential backoff, and typed JSON / binary response handling.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

DeployResponse
RegistryToken
RetryConfig
SyncApiClient
UploadResponse

Functions§

exchange_subject_token
exchange_subject_token_at