Skip to main content

Crate rivetkit_client

Crate rivetkit_client 

Source
Expand description

Rust client for RivetKit actors.

See docs-internal/engine/rivetkit-rust-client.md for actor-to-actor client usage and idiomatic cancellation patterns with tokio::select!, dropped futures, websocket handle drop, and optional tokio_util::sync::CancellationToken threading.

Re-exports§

pub use client::Client;
pub use client::ClientConfig;
pub use client::CreateOptions;
pub use client::GetOptions;
pub use client::GetOrCreateOptions;
pub use client::GetWithIdOptions;
pub use connection::ConnectionStatus;
pub use connection::Event;
pub use connection::SubscriptionHandle;
pub use handle::QueueSendOptions;
pub use handle::QueueSendResult;
pub use handle::QueueSendStatus;
pub use handle::SendAndWaitOpts;
pub use handle::SendOpts;

Modules§

client
connection
drivers
handle
protocol

Enums§

EncodingKind
TransportKind

Type Aliases§

RawWebSocket