zzob
zzob

Reputation: 1134

Does Cloud Endpoint and API Gateway (GCP) support Websocket?

I would like to ask everyone about the limitation of these services Cloud Endpoint and API Gateway (Beta) on the Google Cloud Platform. These services are support WebSocket protocol?

Because I can't find the docs official reference about it.

As I know the ESP is already suport WebSocket https://github.com/cloudendpoints/esp/blob/master/start_esp/start_esp.py#L535

But I still confused. It's possible to write the rule/config on OpenAPI docs (swagger 2) ?
I try to find the apporach to do it. many people suggest to use another tools for make it such as asyncapi.

So the Cloud Endpoints and API Gateway (Beta) are support websocket protocol?

Upvotes: 3

Views: 2492

Answers (1)

Nibrass H
Nibrass H

Reputation: 2487

At the moment, Google Cloud Endpoints and API Gateway, both do not support Websockets.

The flag --enable_websocket seems to be deprecated and doesn't have any effect over Cloud Endpoints.

I have created a Feature Request in Google Public Issue Tracker for the support of Websockets in API Gateway. Please track the feature request for all the future updates regarding the support of Websockets.

Upvotes: 4

Related Questions