Menu
Public repository / 51aec02c44fe7eb9438a160c80c03b0b12141f7a
AkurAI-Framework / crates/http/src/lib.rs
Latest change 5458532ad0ba451030d0554d03be8ff383ccddb8 - feat(ws,http): pure-std WebSocket (RFC 6455) + Server-Sent Events by Ólafur Búi Ólafsson
//! AkurAI-Framework HTTP core — pure `std`, zero dependencies.
//!
//! This crate hand-rolls HTTP/1.1 because the framework links no external
//! crates at runtime (see `AGENTS.md` principle #1): a request-head parser, a
//! response builder, a small thread pool, and a blocking thread-pooled server.
#![forbid(unsafe_code)]
pub mod pool;
pub mod reply;
pub mod request;
pub mod response;
pub mod server;
pub mod sse;
pub use reply::{Hijack, Reply, Upgrade};
pub use request::{Method, ParseError, Request};
pub use response::Response;
pub use server::{Handler, Server};
pub use sse::{sse, Event, SseSink};