Skip to main content

Module handler_trait

Module handler_trait 

Source
Expand description

Handler trait for language-agnostic request handling

This module defines the core trait that all language bindings must implement. It’s completely language-agnostic - no Python, Node, or WASM knowledge.

Structs§

RequestData
Request data extracted from HTTP request This is the language-agnostic representation passed to handlers
StaticResponse
Pre-built response for routes that always return the same content.
StaticResponseHandler
A no-op handler that declares a static response.
ValidatedParams
Validated parameters from request (path, query, headers, cookies)

Traits§

Handler
Handler trait that all language bindings must implement

Type Aliases§

HandlerResult
Result type for handlers