I have working handler functions for the hare-http library that work with the standard http::response_writer and http::request that needs no context of an actual server. There's a...
That you can use with http::serve() and you can create handlers with basic functions, a route mux, and middleware chains that lets you build complex routing paths and middlewares. I just need to add support for path placeholder values for the mux.
#HareLang #HTTP
http::handle(h: *http::handler, wr: *http::response_writer, r: *http::request) void
That you can use with http::serve() and you can create handlers with basic functions, a route mux, and middleware chains that lets you build complex routing paths and middlewares. I just need to add support for path placeholder values for the mux.
#HareLang #HTTP
Edited 7d ago