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

Method path_parameters_ref

lambda-http/src/ext/extensions.rs:196–206  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

194 }
195
196 fn path_parameters_ref(&self) -> Option<&QueryMap> {
197 self.get::<PathParameters>().and_then(
198 |PathParameters(params)| {
199 if params.is_empty() {
200 None
201 } else {
202 Some(params)
203 }
204 },
205 )
206 }
207
208 fn with_path_parameters<P>(self, parameters: P) -> Self
209 where

Callers 1

path_parametersMethod · 0.80

Calls 1

is_emptyMethod · 0.80

Tested by

no test coverage detected