This is automatic generated document for things in Swow\Psr7\Server\Server class
Class Server
Constants
protected BROADCAST_FLAG_NONE = 0 protected BROADCAST_FLAG_RECORD_EXCEPTIONS = 1 Properties
protected $recvMessageTimeout Methods
Method __construct
public function __construct ( int $type ) Method acceptConnection
public function acceptConnection ( ?int $timeout ) : ServerConnection Method broadcastWebSocketFrame
public function broadcastWebSocketFrame ( WebSocketFrameInterface $frame , iterable<ServerConnection> $targets , ?Closure(ServerConnection): bool $filter , int $flags ) : BroadcastResult Method getRecvMessageTimeout
public function getRecvMessageTimeout ( ) : int Method setRecvMessageTimeout
public function setRecvMessageTimeout ( int $timeout ) : static Param int
$timeout HTTP keep alive timeout in milliseconds