aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.rs')
-rw-r--r--src/writer.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/writer.rs b/src/writer.rs
index adb7852..40a935b 100644
--- a/src/writer.rs
+++ b/src/writer.rs
@@ -87,6 +87,10 @@ impl Writer<WebSocket> {
}
}
+ pub fn into_inner(self) -> WebSocket {
+ self.inner.into_inner()
+ }
+
pub fn new_unendable(websocket: WebSocket) -> Self {
let mut default_declarations = HashSet::new();
default_declarations.insert(NamespaceDeclaration {