2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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.
répondu il y a 4 ans
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.
répondu il y a 4 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 3 mois