diff --git a/WsServer.php b/WsServer.php index 2e44a8c..2edca90 100644 --- a/WsServer.php +++ b/WsServer.php @@ -150,6 +150,14 @@ class WsServer implements MessageComponentInterface { } } + /** + * Disable a specific version of the WebSocket protocol + * @param int Version ID to disable + */ + public function disableVersion($versionId) { + $this->versioner->disableVersion($versionId); + } + /** * @param string * @return boolean