diff --git a/src/lib.rs b/src/lib.rs index 6350f815..dea1c633 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -870,45 +870,6 @@ impl Client { Ok(recv) } } - - /// Deprecated: use [`Self::notify`] instead, it handles 0rtt automatically. - #[deprecated(note = "use `notify` instead, it handles 0rtt automatically")] - pub fn notify_0rtt(&self, msg: Req) -> impl Future> + Send + 'static - where - S: From, - S::Message: From>, - Req: Channels, - { - self.notify(msg) - } - - /// Deprecated: use [`Self::rpc`] instead, it handles 0rtt automatically. - #[deprecated(note = "use `rpc` instead, it handles 0rtt automatically")] - pub fn rpc_0rtt(&self, msg: Req) -> impl Future> + Send + 'static - where - S: From, - S::Message: From>, - Req: Channels, Rx = NoReceiver>, - Res: RpcMessage, - { - self.rpc(msg) - } - - /// Deprecated: use [`Self::server_streaming`] instead, it handles 0rtt automatically. - #[deprecated(note = "use `server_streaming` instead, it handles 0rtt automatically")] - pub fn server_streaming_0rtt( - &self, - msg: Req, - local_response_cap: usize, - ) -> impl Future>> + Send + 'static - where - S: From, - S::Message: From>, - Req: Channels, Rx = NoReceiver>, - Res: RpcMessage, - { - self.server_streaming(msg, local_response_cap) - } } #[derive(Debug)]