ws/context: Increase `write()` visibility to public

This commit is contained in:
Tobias Bieniek 2018-07-17 14:30:14 +02:00
parent 6b10e1eff6
commit f612b17929
1 changed files with 1 additions and 1 deletions

View File

@ -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());