Skip to main content

process_directives

Function process_directives 

Source
pub fn process_directives(
    directives: &[Directive],
    req: &mut Request<Incoming>,
    current_path: &str,
) -> Result<ActionResult, String>
Expand description

Process directives in order, applying modifications and returning final action. Supports recursive handling of handle_path blocks.

Note: info! logs here are correlated with request ID only when the logging feature is enabled (via the tracing span set in proxy()). Without logging, these logs appear without request context.