Skip to content

Commit

Permalink
Update examples/examples/jsonrpsee_server_close_connection_from_rpc_h…
Browse files Browse the repository at this point in the history
…andler.rs
  • Loading branch information
niklasad1 authored Nov 1, 2024
1 parent fd82b58 commit 9d66798
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ async fn run_server() -> anyhow::Result<ServerHandle> {
let rpc_service = RpcServiceBuilder::new();

// Establishes the websocket connection
// then the connection is closed i.e, the `conn_fut` is dropped.
async move {
match ws::connect(req, ServerConfig::default(), methods, conn, rpc_service).await {
Ok((rp, conn_fut)) => {
Expand Down

0 comments on commit 9d66798

Please sign in to comment.