Skip to main content

Crate fauna_api

Crate fauna_api 

Source
Expand description

Rust mirror of the fauna-api SDK in api/node. Every public item here matches an export there; npm run sdk:parity checks the two stay in sync.

Re-exports§

pub use shared::server as live;
pub use shared::schema::Schema;

Modules§

authentification
billing
calendar
chats
drive
friends
groups
inbox
integrations
maps
parrot
Parrot in api/node/src/parrot/index.ts. Only the chat HTTP calls are ported so far; the generative, routing, format, agent, share and room modules are pending.
payments
rooms
shared
tickets
travel
webhooks

Enums§

Error
Every fallible SDK call returns this. Http carries the response body the TypeScript SDK throws as new Error(await response.text()).

Functions§

get_ip
get_port
get_route
get_url
ping
Milliseconds for one round trip to the gateway root.
set_route
throttling_promise
Runs tasks with at most max in flight and returns their results in task order.

Type Aliases§

Result