hyperlane-plugin-rewrite 23.0.0

A high-performance HTTP URL rewrite and redirect plugin for the Hyperlane framework featuring canonical host/HTTPS enforcement (X-Forwarded-Proto aware), trailing-slash and duplicate-slash normalization, O(1) XxHash3_64 static tables, segment-bounded prefix rules, and compiled regex rules.
Documentation
mod rewrite;

use super::*;

use std::{
    hint::black_box,
    io,
    net::SocketAddr,
    str::{Utf8Error, from_utf8},
    time::{Duration, Instant},
};

use hyperlane::{
    RequestConfig, Server, ServerConfig, ServerControlHook, ServerError, ServerProtocol,
    tokio::{
        self,
        io::{AsyncReadExt, AsyncWriteExt},
        net::{TcpListener, TcpStream},
        time::{error::Elapsed, timeout},
    },
};