PHP Class React\Gifsocket\Server

Mostrar archivo Open project: reactphp/gifsocket

Public Methods

Method 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

Method Description
createGifStream ( )

Method Details

__construct() public method

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

__invoke() public method

public __invoke ( $request, $response )

addFrame() public method

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

resendFrame() public method

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