Added writeBinary, tests for middleware
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
Reference in New Issue
Block a user