Expand description
Async Rust SDK for the RabbitMQ Management HTTP API.
This crate provides a strongly-typed async client for the RabbitMQ
Management Plugin HTTP API (/api/*, typically port 15672). It supports
monitoring (overview, nodes, queues, exchanges, connections, …) as well
as administrative actions (declaring and deleting queues, exchanges,
bindings, vhosts, users, policies, purging queues, and more).
§Example
use rabbitmqadmin_sdk::Client;
let client = Client::new("http://localhost:15672", "guest", "guest")?;
let me = client.whoami().await?;
println!("logged in as {} (tags: {})", me.name, me.tags.join(","));Modules§
- types
- Response and request payload types for the RabbitMQ Management API.
Structs§
- Client
- Async client for the RabbitMQ Management HTTP API.
- Client
Builder - Builder for
Client. SeeClient::builder. - Paginated
- Envelope returned by paginated list endpoints.
- Pagination
Query - Query parameters for paginated list endpoints.
Enums§
- Error
- Errors returned by the RabbitMQ Management API client.
Constants§
- DEFAULT_
VHOST - The default RabbitMQ vhost,
"/".