MCPcopy Create free account
hub / github.com/aws/aws-lambda-rust-runtime / with_request_context

Method with_request_context

lambda-http/src/ext/extensions.rs:245–249  ·  view source on GitHub ↗
(self, context: RequestContext)

Source from the content-addressed store, hash-verified

243 }
244
245 fn with_request_context(self, context: RequestContext) -> Self {
246 let mut s = self;
247 s.insert(context);
248 s
249 }
250
251 fn lambda_context(&self) -> Context {
252 self.lambda_context_ref()

Callers

nothing calls this directly

Calls 1

map_req_extFunction · 0.85

Tested by

no test coverage detected