This is automatic generated document for things in Swow\Psr7\Server\ServerConnectionManagerTrait class

Trait ServerConnectionManagerTrait

Properties

protected $connections

Methods

Method __constructServerConnectionManager

protected function __constructServerConnectionManager ( ) : void

Method closeConnections

public function closeConnections ( ) : void

Method getConnections

public function getConnections ( ) : ServerConnectionIteratorInterface

Method getFilteredConnections

public function getFilteredConnections ( Closure(ServerConnection): bool $filter )

Method getHttpConnections

public function getHttpConnections ( ) : ServerConnectionIteratorInterface

Method getWebSocketConnections

public function getWebSocketConnections ( ) : ServerConnectionIteratorInterface

Method offline

public function offline ( ServerConnection $connection ) : void

Method online

protected function online ( ServerConnection $connection ) : void

Copyright 2022 the Swow contributors