Arcadic.Transport.HTTP (Arcadic v4.0.1)

Copy Markdown View Source

Runs Arcadic operations over ArcadeDB's HTTP API using Req and Finch.

Reads use POST /api/v1/query/<db> and writes use POST /api/v1/command/<db>. Both send the statement's language, command, and params. ArcadeDB rejects non-idempotent reads. The client returns rows from the result key. See Arcadic.Result for normalization.

Session transactions use POST /api/v1/begin/<db>. By default the request has no body. An explicit body must include isolationLevel. The begin response supplies the arcadedb-session-id header. The transport sends it on statements and on commit or rollback.

GET /api/v1/ready returning 204 indicates readiness. The transport rejects redirects as :http_redirect and disables Req retries. ArcadeDB handles statement retries through the :retries option.