Created
March 25, 2021 22:06
-
-
Save shaykav/62136c28f5fe401e47625bfe86316a61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const gateway = createGateway(event.requestContext); | |
// Server sending message to client acknowledging connection_init | |
gateway.postToConnection({ | |
ConnectionId: event.requestContext.connectionId, | |
Data: JSON.stringify({ type: 'connection_ack', payload: {} }) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment