protected function createStream()
    {
        $stream = Psr7\stream_for();
        $this->writePartHeadersTo($stream);
        $stream->rewind();
        return $stream;
    }
protected function createStream()
    {
        $stream = Psr7\stream_for();
        $this->writePartHeadersTo($stream);
        $stream->rewind();
        return $stream;
    }
protected function createStream ( ) { $ stream = Psr7 \ stream_for ( ) ; $ this -> writePartHeadersTo ( $ stream ) ; $ stream -> rewind ( ) ; return $ stream ; }
Creates the underlying stream lazily when required.

@return StreamInterface
Creates the underlying stream lazily when required .