Added writeBinary, tests for middleware

This commit is contained in:
2024-02-21 22:26:06 +01:00
parent ea9865c177
commit 418ece5155
3 changed files with 66 additions and 2 deletions

View File

@ -181,6 +181,11 @@ class WebSocketConnection implements WebSocketInterface
return $this->send(self::OP_FRAME_TEXT, $data);
}
public function writeBinary($data)
{
return $this->send(self::OP_FRAME_BINARY, $data);
}
/**
*
*/