[Vuejs]-AWS Websocket Connection response

1👍

I found info on the AWS forums related to this. An AWS poster "Alan-AWS" said:

That’s right, the $connect route corresponds to the connection upgrade request which doesn’t have a message.

Which I take to mean that no data can be returned to the client amid the connect processing.

However, I have been able to set a few values in the "context" of my authorization lambda function, and those values are passed thru to each event that the route lambda receives — which can then be sent in a client response I suppose.

I have also been able to "push" a message thru to the client using the special "@connections" approach.

Leave a comment