std1.0.0-beta-7 SafeC docs

Module http

Modules

cookieSafeC Standard Library — HTTP cookies (RFC 6265).
corsSafeC Standard Library — CORS (Cross-Origin Resource Sharing) helpers.
dateSafeC Standard Library — HTTP dates (RFC 9110 §5.6.7).
headersSafeC Standard Library — HttpHeaders: a structured, ordered, case-insensitive HTTP header map.
httpSafeC Standard Library — HTTP/1.1 client and server (hosted, POSIX sockets), built on std::tcp_connect_nb/tcp_listen_nb/tcp_accept_nb (see std/sched/io_nb.h) for the portable BSD/Linux/Windows socket setup, then flipped back to blocking mode here for simple synchronous request/ response semantics — this is not the same non-blocking-reactor model std/sched/reactor.h pairs those functions with.
jwtSafeC Standard Library — JWT (JSON Web Tokens), HS256.
multipartSafeC Standard Library — multipart/form-data (RFC 7578): parsing an HTML form upload on the server, building one for a client request.
oauth2SafeC Standard Library — OAuth2 client (authorization-code + refresh grants, RFC 6749).
routeSafeC Standard Library — URL path patterns (the matching half of std/http/router.h, usable on its own: no sockets, so a wasm32 client can route on location.pathname with the same patterns the server uses).
routerSafeC Standard Library — HTTP routing and middleware.
sseSafeC Standard Library — Server-Sent Events (the WHATWG text/event-stream format, what the browser's EventSource reads).
static_filesSafeC Standard Library — static file serving for std/http servers.
websocketSafeC Standard Library — WebSocket (RFC 6455), client + server.