PACKAGE

mantra.web

Native web framework runtime for the Mantra programming language — HTTP server, router, middleware, and templates.

📋 Classes & Interfaces Summary

Class / Interface Type Description
Server CLASS HTTP server core binding to host and port, mounting routes and executing middleware chains.
Router CLASS URL pattern matching and request dispatcher supporting GET, POST, PUT, DELETE verbs.
Request CLASS Incoming HTTP request model encapsulating headers, path parameters, query parameters, and body.
Response CLASS Fluent HTTP response model with status codes, content types, headers, and payload serializers.
Middleware INTERFACE Interceptor contract for request preprocessing and response postprocessing pipeline.
Template CLASS Lightweight mustache-style HTML template engine supporting key-value string substitution.