Process Management & Graceful Upgrades
How Oxy uses hooks for maximum extensibility

How Oxy uses hooks for maximum extensibility

5/26/2023 · Will Bartlett, Fisher Darling

What this post added

This post introduces Oxy, a Rust framework for building proxies, and details its extensibility through a hook-based system and dependency injection. It allows developers to programmatically modify proxy lifecycles, including connection handling, authorization logic (e.g., using Pre-Shared Keys), and response modification (e.g., adding Proxy-Status headers). This extends the concept of graceful upgrades by providing a flexible and type-safe way to customize proxy behavior at various stages of the connection lifecycle, building upon previous work with libraries like 'tableflip' for Go.

Read the original post ↗