| 1 | <?php declare(strict_types=1);  | 
            ||
| 16 | class BufferedSinkMiddleware implements MiddlewareInterface  | 
            ||
| 17 | { | 
            ||
| 18 | use PreTrait;  | 
            ||
| 19 | use ErrorTrait;  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * @var LoopInterface  | 
            ||
| 23 | */  | 
            ||
| 24 | private $loop;  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * @param LoopInterface $loop  | 
            ||
| 28 | */  | 
            ||
| 29 | 2 | public function __construct(LoopInterface $loop)  | 
            |
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * @param ResponseInterface $response  | 
            ||
| 36 | * @param array $options  | 
            ||
| 37 | * @return CancellablePromiseInterface  | 
            ||
| 38 | */  | 
            ||
| 39 | 2 | public function post(  | 
            |
| 60 | }  | 
            ||
| 61 |