Events WebSocket
This commit is contained in:
13
common/Define/Event/Request.php
Normal file
13
common/Define/Event/Request.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace ProVM\Common\Define\Event;
|
||||
|
||||
use ProVM\Common\Define\Event\Body;
|
||||
|
||||
interface Request extends \JsonSerializable {
|
||||
public function setAction(string $action);
|
||||
public function setMethod(string $method);
|
||||
public function setBody(Body $body);
|
||||
public function getAction(): string;
|
||||
public function getMethod(): string;
|
||||
public function getBody(): Body;
|
||||
}
|
Reference in New Issue
Block a user