This is automatic generated document for things in Swow\Http\Protocol\ChunkedBodyStream class

Class ChunkedBodyStream

Methods

Method __construct

public function __construct ( ChunkedBodyState $state , Closure $fillToCallback , Closure $fillAllCallback , Closure $closeCallback )

Method __toString

public function __toString ( ) : string

Method close

public function close ( ) : void

Method detach

public function detach ( ) : mixed

Method eof

public function eof ( ) : bool

Method getContents

public function getContents ( ) : string

Method getMetadata

public function getMetadata ( mixed $key ) : mixed

Method getSize

public function getSize ( ) : ?int

Method isReadable

public function isReadable ( ) : bool

Method isSeekable

public function isSeekable ( ) : bool

Method isWritable

public function isWritable ( ) : bool

Method onCompleted

public function onCompleted ( Closure $callback ) : void

Method read

public function read ( mixed $length ) : string

Method rewind

public function rewind ( ) : void

Method seek

public function seek ( mixed $offset , mixed $whence ) : void

Method tell

public function tell ( ) : int

Method toString

public function toString ( ) : string

Method write

public function write ( mixed $string ) : int

Copyright 2022 the Swow contributors