Crate restless_core

Source
Expand description

§restless core

Core traits used by restless, crate which allows you to express HTTP request using the Rust type system.

If you are using restless, then you should be using the restless crate and not this one. This crate is useful if you want to build plugins for restless.

Re-exports§

pub use data::Decodable;
pub use data::Encodable;

Modules§

data
Traits to encode and decode request and response bodies.
methods
Request method wrappers.
query
Traits to encode URI query parameters.

Enums§

Method
HTTP Method.

Traits§

DeleteRequest
DELETE Request method.
GetRequest
GET Request method.
HeadRequest
HEAD Request method.
PatchRequest
PATCH Request method.
PostRequest
POST Request method.
Request
HTTP Request.
RequestMethod
Specify the Request method that should be used for a type.
RequestType
Request type trait.