Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: add example how to close a connection from a rpc handler (method call or subscription) #1488

Merged
merged 6 commits into from
Nov 6, 2024

Update examples/examples/jsonrpsee_server_close_connection_from_rpc_h…

c6f46f4
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

server: add example how to close a connection from a rpc handler (method call or subscription) #1488

Update examples/examples/jsonrpsee_server_close_connection_from_rpc_h…
c6f46f4
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Nov 6, 2024 in 0s

clippy

6 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 6
Note 0
Help 0

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check warning on line 750 in server/src/server.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using tabs in doc comments is not recommended

warning: using tabs in doc comments is not recommended
   --> server/src/server.rs:750:7
    |
750 |     ///          .to_service_builder();
    |          ^^^^^^^^ help: consider using four spaces per tab
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments

Check warning on line 749 in server/src/server.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using tabs in doc comments is not recommended

warning: using tabs in doc comments is not recommended
   --> server/src/server.rs:749:10
    |
749 |     ///         .set_config(ServerConfig::builder().max_connections(33).build())
    |             ^^^^ help: consider using four spaces per tab
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
    = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default

Check warning on line 750 in server/src/server.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using tabs in doc comments is not recommended

warning: using tabs in doc comments is not recommended
   --> server/src/server.rs:750:7
    |
750 |     ///          .to_service_builder();
    |          ^^^^^^^^ help: consider using four spaces per tab
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments

Check warning on line 749 in server/src/server.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using tabs in doc comments is not recommended

warning: using tabs in doc comments is not recommended
   --> server/src/server.rs:749:10
    |
749 |     ///         .set_config(ServerConfig::builder().max_connections(33).build())
    |             ^^^^ help: consider using four spaces per tab
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
    = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default

Check warning on line 750 in server/src/server.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using tabs in doc comments is not recommended

warning: using tabs in doc comments is not recommended
   --> server/src/server.rs:750:7
    |
750 |     ///          .to_service_builder();
    |          ^^^^^^^^ help: consider using four spaces per tab
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments

Check warning on line 749 in server/src/server.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using tabs in doc comments is not recommended

warning: using tabs in doc comments is not recommended
   --> server/src/server.rs:749:10
    |
749 |     ///         .set_config(ServerConfig::builder().max_connections(33).build())
    |             ^^^^ help: consider using four spaces per tab
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
    = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default