Skip to content

Commit

Permalink
refactor: remove deprecated ws_send method
Browse files Browse the repository at this point in the history
  • Loading branch information
ilbertt committed Jul 20, 2024
1 parent f56144a commit c08d910
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/ic-websocket-cdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,6 @@ pub fn send(client_principal: ClientPrincipal, msg_bytes: Vec<u8>) -> CanisterSe
_ws_send(&client_key, msg_bytes, false)
}

#[deprecated(since = "0.3.2", note = "use `ic_websocket_cdk::send` instead")]
#[allow(deprecated)]
/// Deprecated: use [send] instead.
pub fn ws_send(client_principal: ClientPrincipal, msg_bytes: Vec<u8>) -> CanisterWsSendResult {
send(client_principal, msg_bytes)
}

/// Closes the connection with the client.
///
/// This function **must not** be called in the `on_close` callback.
Expand Down

0 comments on commit c08d910

Please sign in to comment.