The current websocket implementation is very hacky, it just accepts a single message formatted as the same REST endpoint's body, parses the body and passes to the same internal logic as rest and sends a single message response.
Websocket reimpl should (especially for async like await-invoice and await-deposit) send back updates as messages and be in accordance with best practices for json-rpc 2.0
The current websocket implementation is very hacky, it just accepts a single message formatted as the same REST endpoint's body, parses the body and passes to the same internal logic as rest and sends a single message response.
Websocket reimpl should (especially for async like await-invoice and await-deposit) send back updates as messages and be in accordance with best practices for json-rpc 2.0