pub struct ReverseProxyCtx<'a> {
pub credential_store: &'a CredentialStore,
pub session_token: &'a Zeroizing<String>,
pub filter: &'a ProxyFilter,
pub tls_connector: &'a TlsConnector,
pub audit_log: Option<&'a SharedAuditLog>,
}Expand description
Handle a non-CONNECT HTTP request (reverse proxy mode).
Reads the full HTTP request from the client, matches path prefix to a configured route, injects credentials, and forwards to the upstream. Shared context passed from the server to the reverse proxy handler.
Fields§
§credential_store: &'a CredentialStoreCredential store for service lookups
session_token: &'a Zeroizing<String>Session token for authentication
filter: &'a ProxyFilterHost filter for upstream validation
tls_connector: &'a TlsConnectorShared TLS connector
audit_log: Option<&'a SharedAuditLog>Shared network audit sink for session metadata capture
Auto Trait Implementations§
impl<'a> Freeze for ReverseProxyCtx<'a>
impl<'a> !RefUnwindSafe for ReverseProxyCtx<'a>
impl<'a> Send for ReverseProxyCtx<'a>
impl<'a> Sync for ReverseProxyCtx<'a>
impl<'a> Unpin for ReverseProxyCtx<'a>
impl<'a> UnsafeUnpin for ReverseProxyCtx<'a>
impl<'a> !UnwindSafe for ReverseProxyCtx<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more