PHP 클래스 React\HttpClient\ChunkedStreamDecoder

상속: implements React\Stream\ReadableStreamInterface, use trait Evenement\EventEmitterTrait
파일 보기 프로젝트 열기: reactphp/http-client 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$buffer string
$closed boolean
$nextChunkIsLength boolean
$reachedEnd boolean
$remainingLength integer
$stream React\Stream\ReadableStreamInterface

공개 메소드들

메소드 설명
__construct ( React\Stream\ReadableStreamInterface $stream )
close ( )
handleData ( $data )
handleEnd ( )
isReadable ( )
pause ( )
pipe ( React\Stream\WritableStreamInterface $dest, array $options = [] )
resume ( )

보호된 메소드들

메소드 설명
getChunkLength ( )
iterateBuffer ( )

메소드 상세

__construct() 공개 메소드

public __construct ( React\Stream\ReadableStreamInterface $stream )
$stream React\Stream\ReadableStreamInterface

close() 공개 메소드

public close ( )

getChunkLength() 보호된 메소드

protected getChunkLength ( )

handleData() 공개 메소드

public handleData ( $data )

handleEnd() 공개 메소드

public handleEnd ( )

isReadable() 공개 메소드

public isReadable ( )

iterateBuffer() 보호된 메소드

protected iterateBuffer ( )

pause() 공개 메소드

public pause ( )

pipe() 공개 메소드

public pipe ( React\Stream\WritableStreamInterface $dest, array $options = [] )
$dest React\Stream\WritableStreamInterface
$options array

resume() 공개 메소드

public resume ( )

프로퍼티 상세

$buffer 보호되어 있는 프로퍼티

protected string $buffer
리턴 string

$closed 보호되어 있는 프로퍼티

protected bool $closed
리턴 boolean

$nextChunkIsLength 보호되어 있는 프로퍼티

protected bool $nextChunkIsLength
리턴 boolean

$reachedEnd 보호되어 있는 프로퍼티

protected bool $reachedEnd
리턴 boolean

$remainingLength 보호되어 있는 프로퍼티

protected int $remainingLength
리턴 integer

$stream 보호되어 있는 프로퍼티

protected ReadableStreamInterface,React\Stream $stream
리턴 React\Stream\ReadableStreamInterface