mirror of https://github.com/fafhrd91/actix-web
ws/context: Increase `write()` visibility to public
This commit is contained in:
parent
6b10e1eff6
commit
f612b17929
|
@ -133,7 +133,7 @@ where
|
|||
{
|
||||
/// Write payload
|
||||
#[inline]
|
||||
fn write(&mut self, data: Binary) {
|
||||
pub fn write(&mut self, data: Binary) {
|
||||
if !self.disconnected {
|
||||
if self.stream.is_none() {
|
||||
self.stream = Some(SmallVec::new());
|
||||
|
|
Loading…
Reference in New Issue