Content-Length: 263036 | pFad | http://github.com/hprose/hprose-php/issues/145

0F hprose能否支持stream响应,在获取数据量很大时候用 · Issue #145 · hprose/hprose-php · GitHub
Skip to content

hprose能否支持stream响应,在获取数据量很大时候用 #145

Open
@hawkcraw

Description

@hawkcraw

例如我需要获取一个很大的数据集,拿回来进行过滤、转换再保存成特定的格式。如果响应数据很大,内存会爆掉。

目前可以使用分页解决,分割成多个小数据获取在进行合并。但逻辑会很麻烦。

能否支持流数据响应(stream response)。
例如:guzzle stream。
https://docs.guzzlephp.org/en/stable/request-options.html#stream

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/hprose/hprose-php/issues/145

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy