Expand description
Crate ruma_api contains core types used to define the requests and responses for each endpoint in the various Matrix API specifications. These types can be shared by client and server code for all Matrix APIs.
When implementing a new Matrix API, each endpoint has a type that implements Endpoint, plus
the necessary associated types.
An implementation of Endpoint contains all the information about the HTTP method, the path and
input parameters for requests, and the structure of a successful response.
Such types can then be used by client code to make requests, and by server code to fulfill
those requests.
Structs
Metadata about an API endpoint.
Enums
An error when converting an
Endpoint::Request to a http::Request or a http::Response to
an Endpoint::Response.Traits
A Matrix API endpoint.