Skip to main content

Module route_matcher

Module route_matcher 

Source
Expand description

Route matching and condition evaluation for webhooks.

Handles:

  • Route pattern matching with path parameters
  • Mapping condition evaluation (header/field matching)

Structs§

RouteMatch
Result of route matching
RouteMatcher
Route matcher for webhook routes

Functions§

convert_method
Convert Axum method to our HttpMethod enum
find_matching_mappings
Evaluate mapping conditions to find matching mappings
headers_to_map
Convert Axum headers to HashMap