2 Answers
- Newest
- Most votes
- Most comments
0
Currently WebSocket API does not support path variables on $connect. You can send query string or custom header (if the client is non-browser) though.
answered 4 years ago
0
Thanks.
I wasn't actually able to get the headers approach to work; I'm not sure why, but I only seem to see a subset of the actual headers in the WebSocket lambda.
The query parameters approach worked fine, though.
answered 4 years ago
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago