[Request/PR] Expose REST-API functionality inside websocket connection
The REST API is great, but there's no analog for it in the websocket connection used by NodeBB.
I have an application i'm working on that I would like to expose these functions in the websocket as well. This would allow me to avoid having to shuffle multiple cookiejars around my application as the multiple users that the application connects as perform their various tasks.
.... Am I doing this right? It's my first time trying to contribute to this project.... :nervous:
I'll comment on the PR
Many Thanks! this will make my application much simpler and more robust.