Expand description
§rive-http
An HTTP client for the Revolt REST API.
It is used for the Rive crates ecosystem and is built on top of it. See the rive documentation for more information.
§Features
native-tls(default): enables TLS support vianative-tls.rustls-tls-native-roots: enables TLS support viarustlswith native root certificates.rustls-tls-webpki-roots: enables TLS support viarustlswith root certificates fromwebpki-roots.
Note: if the self-hosted Revolt instance does not use an HTTPS connection, then you can disable TLS support by disabling the default features:
[dependencies]
rive-http = { version = "1", default-features = false }The official instance is HTTPS only.
Structs§
Enums§
- Error
- Client error
Constants§
- BASE_
URL - Base URL of the official Revolt instance API