diff --git a/actix-ioframe/src/connect.rs b/actix-ioframe/src/connect.rs index 29190228..d7f403c2 100644 --- a/actix-ioframe/src/connect.rs +++ b/actix-ioframe/src/connect.rs @@ -51,6 +51,16 @@ impl ConnectResult { &self.sink } + #[inline] + pub fn get_ref(&self) -> &Io { + self.framed.get_ref() + } + + #[inline] + pub fn get_mut(&mut self) -> &mut Io { + self.framed.get_mut() + } + #[inline] pub fn state(self, state: S) -> ConnectResult { ConnectResult {