pyfisch / kinglet

A modern asynchronous HTTP server for Rust.
Other
61 stars 2 forks source link

kinglet

A modern asynchronous HTTP server for Rust.

Overview

Kinglet is based on rotor and mio and is a proof-of-concept web server that uses state machines to manage connections.

digraph Client {
// Simplified graph. Does not contain error cases.
"Initial" -> "ReadHeaders" -> "Parsed" -> "KeepAlive" -> "ReadHeaders"
"ReadHeaders" -> "ReadFixedSize" -> "ReadFixedSize" ->"Parsed"
"ReadHeaders" -> "ReadChunked" -> "ReadChunked" -> "Parsed"
"ReadChunked" -> "ReadTrailers" -> "Parsed"
{rank = same; "Initial"; "KeepAlive";}
{rank = same; "ReadFixedSize"; "ReadChunked";}
}

The software is still very incomplete and not yet usable.