[][src]Crate tophat

tophat

A small, pragmatic, and flexible async HTTP server library.

More docs coming soon! For now, please see the examples directory for features.

Also, please note that you'll need to set up your own async runtime to work with tophat. All the examples use smol as the runtime.

Re-exports

pub use http;

Modules

client

Simple client for HTTP/1.1

server

tophat server

trailers

Trailers

Macros

glitch

Convenience macro for creating a Glitch.

glitch_code

This one panics!

Structs

Body

A streaming body for use with requests and responses.

Type Definitions

Request

Currently, Request is not generic over Body type

Response

Currently, Response is not generic over Body type