PHP Class React\Gifsocket\Server

Afficher le fichier Open project: reactphp/gifsocket

Méthodes publiques

Méthode Description
__construct ( React\EventLoop\LoopInterface $loop )
__invoke ( $request, $response )
addFrame ( $frame ) add timeout so that first frame can flush
resendFrame ( GifStream $gif, $frame )

Private Methods

Méthode Description
createGifStream ( )

Method Details

__construct() public méthode

public __construct ( React\EventLoop\LoopInterface $loop )
$loop React\EventLoop\LoopInterface

__invoke() public méthode

public __invoke ( $request, $response )

addFrame() public méthode

add timeout so that first frame can flush
public addFrame ( $frame )

resendFrame() public méthode

public resendFrame ( GifStream $gif, $frame )
$gif GifStream