Skip to content

How to use a callback function for receiving chunked data while sending chunked data #1248

@PasinduKollure

Description

@PasinduKollure

Hi,

I want to use a httplib::SSLClient object to post chunks of data (using Transfer-Encoding: chunked) while an another thread receives chunked data from a server. After looking through the class ClientImpl, I was only able to find the Result Post(const char *path, ContentProviderWithoutLength content_provider, const char *content_type); which returns the response after all the data is sent whereas I would like a Post(...) function which processes incoming data simultaneously. Is this possible to implement?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions