#[filter_unknown_version]Expand description
Handles requests with unknown or non-standard HTTP versions.
This attribute macro configures the function to handle requests that use unrecognized HTTP protocol versions, providing a fallback for non-standard versions.
ยงUsage
use hyperlane::*;
use hyperlane_macros::*;
#[filter_unknown_version]
async fn handle_unknown_version(ctx: Context) {
// Handle requests with unknown HTTP versions
}The macro takes no parameters and should be applied directly to async functions
that accept a Context parameter.