Socket (full-duplex) support in addition to HTTP
Having the ability to regulate and monitor HTTP services with API Management is great. Wouldn't it also make sense to offer the same for web sockets (or SignalR hubs, etc.) so we can let devs hookup into stream of events (live-data) instead of polling with REST calls?
Rest assured we still have this request in mind and are continually reviewing it. Please keep your feedback coming!
Maurice Manning commented
Agreed, please add websockets to APIM
Hilde Askeland commented
I want web sockets in api-m too
Jose Parra commented
Guys, when are we going to get this? We have been waiting for a loooong time..
Rizvan Bhimani commented
We want to use socket.io functionality with api-m but it is still not available. Latest technology should support by azure.
Amazon API Gateway now supports WebSocket, when will Azure support this? This request was raised 5 years ago.
Brian Chesbrough commented
Going on 5 years since it was first requested on here. Any update?!
Javier Quintana commented
For a particular customer, I will be interested in the API management using websockets
Sébastien de Menten commented
Any news/updates since 2016?
Sébastien de Menten commented
Any update on this request ?
Since the removal of the APIM Trello roadmap, I can't find any information on it.
One of our solutions are sitting behind the API Manangement Service and requires the user to connect to websockets.
Rory Eley commented
Any news on this?
Anton K commented
Need websockets to accommodate recurrent(scheduled) servicing of high request loads, encapsulated in single HTTPS session.
The web application we are developing is enterprise multitenant client application running in browser and it connects to API management with a backend API. API mgmt. currently is used for proxying, auth, policy checks, transforms. We also would like to use the same infra for real-time push for events to the http client in the browser. This is very important for us. Expediting this would help. I see that its been under review for 2 years already :-)
I want it too!
I would also like to have the ability to support a realtime API, not just REST. For example the possibilities that XSockets.NET provides (https://xsockets.net/)
Jochen van Wylick commented
I'm trying to convince others on my team that we need to use Azure API Management over and IIS instance with Application Request Routing (ARR). I made a POC that nicely proxies all our WebAPI traffic through ARR and it gives us all the goodness like trafic monitoring, access control, throttling etc. Only problem is that it only seems to support HTTP and HTTPS and not web-socket traffic.
So please - could you add web socket support for Azure API Management?
Hi Josh, take a look at this Node.js project here: http://feathersjs.com/
It is built on top of the Express framework. It lets you define services which then can be configured to work with both REST calls and websocket messages.
So for example, socket.emit('todos::create') is the equivalent of a POST request at /todos.
I'm guessing you could define these messages as routes in the API Management portal, but I'm not sure how you would go about hooking your solution with an existing websocket server.