#[filter_unknown]
Expand description
Handles requests with any unknown characteristics.
This attribute macro combines filtering for unknown methods, upgrade protocols, and HTTP versions, providing comprehensive handling for requests with any unrecognized characteristics.
ยงUsage
use hyperlane::*;
use hyperlane_macros::*;
#[filter_unknown]
async fn handle_all_unknown(ctx: Context) {
// Handle requests with any unknown characteristics
}
The macro takes no parameters and should be applied directly to async functions
that accept a Context
parameter.