Prologue-and-Epilogue-Macros (opens in new tab)
Prologue and Epilogue Macros in Hyperlane Project Code: Introduction In the hyperlane framework, middleware is the backbone of request processing. While standard request_middleware and response_middleware handle the bulk of request/response processing, hyperlogue also provides specialized prologue and epilogue macros that execute at the very beginning and very end of the request lifecycle. These macros—implemented through the #[try_send], #[send], #[try_flush], and #[flush] attribute macros—g...
Read the original article