Crate titan

Source

Modules§

endpoint
guard
html
http
prelude
route
web

Macros§

lazy_static

Structs§

App
Serve

Traits§

FromRequest
Types that can be extracted from a request.
FromRequestParts
Types that can be created from request parts.
FutureExt
An extension trait for Futures that provides a variety of convenient adapters.
Handler
Respondable
A trait for types that can be converted into an HTTP response.
Service
An asynchronous function from a Request to a Response.
ServiceExt
An extension trait for Services that provides a variety of convenient adapters

Functions§

build_static
serve
Starts a server that listens on the provided TcpListener and handles requests using the given service.

Attribute Macros§

ssg