diff options
Diffstat (limited to 'jsonrpc/examples/tokio_server/src')
-rw-r--r-- | jsonrpc/examples/tokio_server/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonrpc/examples/tokio_server/src/main.rs b/jsonrpc/examples/tokio_server/src/main.rs index d70a46a..41d4c74 100644 --- a/jsonrpc/examples/tokio_server/src/main.rs +++ b/jsonrpc/examples/tokio_server/src/main.rs @@ -48,7 +48,7 @@ async fn main() { }; // Creates a new server - let server = Server::builder("tcp://127.0.0.1:6000") + let server = Server::builder("ws://127.0.0.1:6000") .expect("Create a new server builder") .service(Arc::new(calc)) .build() |