Lines Matching refs:BufferStream
5 use GuzzleHttp\Stream\BufferStream;
48 new AsyncReadStream(new BufferStream(), ['pump' => true]);
55 new AsyncReadStream(new BufferStream(), ['drain' => true]);
60 $buffer = new BufferStream();
85 $buffer = new BufferStream();
96 $buffer = new BufferStream();
115 $buffer = new BufferStream(5);
117 'drain' => function (BufferStream $b) use (&$called, $buffer) {
144 $this->assertInstanceOf('GuzzleHttp\Stream\BufferStream', $buffer);
150 $buf = new BufferStream();
175 $b = new BufferStream();
178 'write' => function (BufferStream $buf, $data) use (&$c, $b) {