hyperlane-macros 19.0.0

A comprehensive collection of procedural macros for building HTTP servers with enhanced functionality. This crate provides attribute macros that simplify HTTP request handling, protocol validation, response management, and request data extraction.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::*;

/// Referer data container storing referer value expressions.
///
/// Used for Referer header matching in request processing.
/// Supports both single and multiple referer values.
pub(crate) struct MultiRefererData {
    /// Vector of referer value expressions to match against.
    pub(crate) referer_values: Vec<Expr>,
}