#[http1_0]Expand description
Restricts function execution to HTTP/1.0 requests only.
This attribute macro ensures the decorated function only executes for HTTP/1.0 protocol requests.
ยงUsage
use hyperlane::*;
use hyperlane_macros::*;
#[http1_0]
async fn handle_http10(ctx: Context) {
// Handle HTTP/1.0 requests
}The macro takes no parameters and should be applied directly to async functions
that accept a Context parameter.