PHP 클래스 React\Gifsocket\Server

파일 보기 프로젝트 열기: reactphp/gifsocket

공개 메소드들

메소드 설명
__construct ( React\EventLoop\LoopInterface $loop )
__invoke ( $request, $response )
addFrame ( $frame ) add timeout so that first frame can flush
resendFrame ( GifStream $gif, $frame )

비공개 메소드들

메소드 설명
createGifStream ( )

메소드 상세

__construct() 공개 메소드

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

__invoke() 공개 메소드

public __invoke ( $request, $response )

addFrame() 공개 메소드

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

resendFrame() 공개 메소드

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