Skip to main content Link Menu Expand (external link) Document Search Copy Copied

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

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

Copyright 2022 the Swow contributors