pub struct Ingress {
pub method: &'static Method,
pub pattern: PathPattern,
pub kind: OperationKind,
pub stream: StreamDetect,
pub framing: StreamFraming,
pub upgrade: bool,
}Expand description
One way this operation enters the proxy.
Fields§
§method: &'static Method§pattern: PathPattern§kind: OperationKind§stream: StreamDetect§framing: StreamFraming§upgrade: boolThis ingress is a websocket upgrade (GET /v1/realtime,
Responses-over-WS). The engine hands matched upgrades to the WS
bridge instead of the HTTP path; hosts never hardcode WS routes
(v2’s gateway carried a three-branch if-chain for exactly this).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ingress
impl RefUnwindSafe for Ingress
impl Send for Ingress
impl Sync for Ingress
impl Unpin for Ingress
impl UnsafeUnpin for Ingress
impl UnwindSafe for Ingress
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