4

Is there any way to have an Azure Function listen for events from a remote web socket and handle messages as their come over?

I have looked at the current documentation and samples but haven't found an answer.

1 Answer 1

6

Web sockets are not currently an event trigger that is supported by Azure Functions. Your only option would be to have another application that listened to the web socket and placed messages on a queue or hit an HTTP triggered function, but at that point the listening application might as well handle the incoming message itself.

The documentation here shows the current list of supported function triggers: https://learn.microsoft.com/en-us/azure/azure-functions/functions-triggers-bindings

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.