[][src]Module eternal::web

Re-exports

pub use crate::http::body;
pub use crate::http::cookie;
pub use crate::http::Error;
pub use crate::http::HttpMessage;
pub use crate::http::ResponseError;
pub use crate::http::Result;

Modules

client

An HTTP Client

dev

The eternal prelude for library developers

error

Error and Result module

guard

Route match guards.

middleware

Middlewares

test

Various helpers for Actix applications to use during testing.

web

Essentials helper functions and types for application registration.

Structs

App

Application builder - structure that follows the builder pattern for building application instances.

HttpRequest

An HTTP Request

HttpResponse

An HTTP Response

HttpServer

An HTTP Server.

Resource

Resource is an entry in resources table which corresponds to requested URL.

Route

Resource route definition

Scope

Resources scope.

Enums

Either

Combines two different responder types into a single type

Traits

FromRequest

Trait implemented by types that can be extracted from request.

Responder

Trait implemented by types that can be converted to a http response.