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

Unify RpcModule types (#350)



* Remove register_* from Server

* Tests pass

* Some cleanup

* more cleanup

* Less bounds

* Remove the `RpcMethod` trait – I don't think we need it.

* fmt

* Fix benches

* Enable merging two modules with different contexts

* Module registration returns number of methods on the server and checks for dupes
Tests for module registration and some cleanup

* Export `RpcModule` from façade crate
fmt

* Revert to return error from `Server::register_module`

* Remove Server::methods

* Remove TODO

* Fix tests
Fix http server to work the same as ws-server

* Server::method_names

* fmt

* fix clippy warnings

Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
parent 2111f4c1
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