mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Allow cloning a request
This commit is contained in:
parent
597885028a
commit
bb64bcc1c1
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue