Files
kiri-core/note/Route/Socket.php
T
as2252258@163.com abd043ee15 111
2021-09-04 00:08:34 +08:00

35 lines
541 B
PHP

<?php
namespace Annotation\Route;
use Annotation\Attribute;
use Exception;
use Http\Route\Router;
use Kiri\Kiri;
/**
* Class Socket
* @package Annotation
*/
#[\Attribute(\Attribute::TARGET_METHOD)] class Socket extends Attribute
{
const CLOSE = 'CLOSE';
const MESSAGE = 'MESSAGE';
const HANDSHAKE = 'HANDSHAKE';
/**
* Socket constructor.
* @param string $event
* @param string|null $uri
* @param string $version
*/
public function __construct(string $event, ?string $uri = null, string $version = 'v.1.0')
{
}
}