src/DdvRestfulApi/Abstracts/RequestContentParses.php
public function reset()
    {
        // 写入长度为0
        $this->writeLength = 0;
        // 计算出内容
        $this->contentLength = $this->httpRequestStream->getContentLength();
        // 钩子清空
        $this->hookCompleteds = [];
        // 标记为未完成
        $this->isCompleted = false;
        // 写入临时缓冲区
        $this->writeTempBuffer = '';
    }
public function reset()
    {
        // 写入长度为0
        $this->writeLength = 0;
        // 计算出内容
        $this->contentLength = $this->httpRequestStream->getContentLength();
        // 钩子清空
        $this->hookCompleteds = [];
        // 标记为未完成
        $this->isCompleted = false;
        // 写入临时缓冲区
        $this->writeTempBuffer = '';
    }
重置