Module writium::prelude [] [src]

This module includes most of the tools you want to use during API development. In case you are a user consuming APIs made by others, you generally need Writium only.

Re-exports

pub use api::Api;
pub use api::ApiResult;
pub use namespace::Namespace;
pub use error::Error;
pub use error::Result;

Modules

header

Headers container, and common header fields.

Structs

Headers

A map of header fields on requests and responses.

Request

Wrapped HTTP protocol items (request, response and message components) for common needs in web service development.

Response

Response

Uri

The Request-URI of a Request's StartLine.

Enums

Method

The Request Method (VERB)

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).