Search code examples
azurewebsocketsocket.iogatewayazure-api-management

how to integrate azure api management to node socket.io application


I am trying to integrate our socket.io application with azure api management. But I am unable to find any solution, whether it is possible or not. Can any one help me OR give me some suggestions


Solution

  • UPDATE: WebSockets are now supported in APIM. Currently, only passthrough is supported which creates a one-to-one mapping of the connection between the client and APIM, and the connection between APIM and the backend websocket server. Also, do note the limitations that exist today.

    Thanks @restfulhead for the bringing this up here


    Unfortunately, WebSockets are not supported in Azure API Management as of today. There is a feature request on UserVoice which you could up vote to gain more traction.

    Today, for WebSocket applications, you can use Azure Application Gateway which supports websockets.

    On another note, Azure SignalR is also a great service for building managed, scalable, realtime websocket-powered applications but is more of an alternative to socket.io in NodeJS for C#.