MCPcopy Create free account
hub / github.com/acking-you/static_flow / new_ctx

Method new_ctx

crates/gateway/src/proxy.rs:104–106  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

102 type CTX = GatewayRequestContext;
103
104 fn new_ctx(&self) -> Self::CTX {
105 GatewayRequestContext::new(self.config.snapshot())
106 }
107
108 async fn request_filter(&self, session: &mut Session, ctx: &mut Self::CTX) -> Result<bool> {
109 ctx.config = self.config.snapshot();

Callers

nothing calls this directly

Calls 1

snapshotMethod · 0.45

Tested by

no test coverage detected