src/hashi.nim
Hashi: an HTTP/1.1 and WebSocket server for Nimony, built on .passive procs over std/ioring's worker pool.
import hashi brings in the application-facing API:
hashi/http/server: serve, route registration, middleware, thepassive handler chain, secondary WebSocket listeners, trusted proxies
hashi/http/request: Request, Response, newResponse, accessorshashi/http/router: matching semantics and the object-based routerhashi/http/config: ServerConfighashi/http/multipart: multipart/form-data parsinghashi/ws/session and hashi/ws/session_io: the WebSocket handler APIhashi/ws/outq and hashi/ws/outq_writer: the optional outbound queuehashi/sse/session: Server-Sent Eventshashi/loop: the loop lifecycle and raw waitRead/waitWrite for handlers that owna socket
Each module can also be imported on its own for a narrower surface. The internals (hashi/net, the frame codec, the protocol state machine, the connection registry, the access log) are imported here so that doc/gen documents them, but are not re-exported; import them explicitly if you need them.