2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
beantwortet vor 4 Jahren
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.
beantwortet vor 4 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren