mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Allow cloning a request
This commit is contained in:
@@ -27,6 +27,11 @@ class Request extends UtopiaRequest
|
||||
parent::__construct($request);
|
||||
}
|
||||
|
||||
public function clone(): Request
|
||||
{
|
||||
return new self($this->swoole);
|
||||
}
|
||||
|
||||
public function getSwoole(): SwooleRequest
|
||||
{
|
||||
return $this->swoole;
|
||||
|
||||
Reference in New Issue
Block a user