Class DroppingStream
Stream decorator that begins dropping data once the size of the underlying
stream becomes too full.
-
GuzzleHttp\Psr7\DroppingStream
implements
Psr\Http\Message\StreamInterface
uses
GuzzleHttp\Psr7\StreamDecoratorTrait
Methods summary
public
|
|
public
integer
|
#
write( string $string )
Write data to the stream.
Write data to the stream.
Parameters
- $string
- The string that is to be written.
Returns
integer Returns the number of bytes written to the stream.
Throws
RuntimeException on failure.
Implementation of
|
Methods inherited from Psr\Http\Message\StreamInterface
__toString(),
close(),
detach(),
eof(),
getContents(),
getMetadata(),
getSize(),
isReadable(),
isSeekable(),
isWritable(),
read(),
rewind(),
seek(),
tell()
|
Methods used from GuzzleHttp\Psr7\StreamDecoratorTrait
__call(),
__get(),
__toString(),
close(),
createStream(),
detach(),
eof(),
getContents(),
getMetadata(),
getSize(),
isReadable(),
isSeekable(),
isWritable(),
read(),
rewind(),
seek(),
tell()
|