-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: remove
Endpoint::try_send_*
The `try_send_*` methods exist to send messages using a connection that already exists in the pool. This is useful for sending messages to clients, since it would be impossible to connect to them in case a connection is not in the pool, so using `connect_to` would retry until failure. This use-case is now covered by the `Endpoint::get_connection_by_addr` method. BREAKING CHANGE: `Endpoint::try_send_message` and `Endpoint::try_send_message_with` have been removed. Use `Endpoint::get_connection_by_addr` and `Connection::send_*` instead.
- Loading branch information
Showing
2 changed files
with
17 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters