AWS – Amazon API Gateway allows subprotocols on a WebSocket API connection
While building a WebSocket API with Amazon API Gateway, you can now send back Sec-WebSocket-Protocol field as part of the response from $connect route. This means clients can now request specific subprotocols while connecting to your WebSocket API.
Read More for the details.