4 ms·
You can use http directly for your functions [1]. Or you can create custom http actions [2]. We encourage websocket usage because it allows for reactivity and U
by ikhare 2y ago
You can use http directly for your functions [1]. Or you can create custom http actions [2]. We encourage websocket usage because it allows for reactivity and UI consistency and it plays nicely with reactive frontend frameworks like React etc.
[1] https://docs.convex.dev/http-api/#functions-api https://docs.convex.dev/http-api/#functions-api
[2] https://docs.convex.dev/functions/http-actions https://docs.convex.dev/functions/http-actions
- Lt_Riza_Hawkeye 2y agoThank you!