Unverified Commit 4038e9e7 authored by David's avatar David Committed by GitHub
Browse files

[ws-server] Batch support (#300)



* Batch requests over the websocket

* Use same call signature for both http and ws server

* Use CallError instead of InvalidParams
Add a draft batch request test

* Sort out formatting of batch responses
Cleanup
Use CallError

* Add test for slow method calls

* Update utils/src/server.rs

Co-authored-by: default avatarNiklas Adolfsson <[email protected]>

* Add benchmark for batched websocket requests

* rename

* Rename batch channels

* Sort out the InvalidParams situation

* Remove one level of InvalidParams
Return app-level error when call fails

* Update ws-server/src/server.rs

Co-authored-by: default avatarAndrew Plaza <[email protected]>

* Update ws-server/src/server.rs

Co-authored-by: default avatarAndrew Plaza <[email protected]>

Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
Co-authored-by: default avatarAndrew Plaza <[email protected]>
parent b51abeca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment