You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Extentions for `lambda_http::Request` structs that
33
-
/// provide access to [API gateway features](https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format)
37
+
/// provide access to [API gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format)
38
+
/// and [ALB](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html)
39
+
/// features.
34
40
///
35
-
/// In addition, you can also access a request's body in deserialized format
41
+
/// # Examples
42
+
///
43
+
/// You can also access a request's body in deserialized format
36
44
/// for payloads sent in `application/x-www-form-urlencoded` or
37
45
/// `application/x-www-form-urlencoded` format
38
46
///
@@ -87,16 +95,23 @@ pub trait RequestExt {
87
95
/// No query parameters
88
96
/// will yield an empty `StrMap`.
89
97
fnquery_string_parameters(&self) -> StrMap;
98
+
90
99
/// Return pre-extracted path parameters, parameter provided in url placeholders
91
100
/// `/foo/{bar}/baz/{boom}`,
92
101
/// associated with the API gateway request. No path parameters
93
102
/// will yield an empty `StrMap`
103
+
///
104
+
/// These will always be empty for ALB triggered requests
0 commit comments