Joey Yi Zhao
Joey Yi Zhao

Reputation: 42520

Why API Gateway websocket publish a https connection?

I am using AWS API Gateway websocket endpoint and I see there are two endpoints created after deploy. One is https the other is wss. I can use websocket client to connect to my service via the websocket endpoint. I wonder why it creates a https endpoint.

Upvotes: 0

Views: 420

Answers (1)

Marcin
Marcin

Reputation: 238299

I think this is to use @connections commands in your backend service.

With the https endpoint:

Your backend service can use the following WebSocket connection HTTP requests to send a callback message to a connected client, get connection information, or disconnect the client.

Upvotes: 1

Related Questions