libcpr / cpr

C++ Requests: Curl for People, a spiritual port of Python Requests.
https://docs.libcpr.org/
Other
6.29k stars 904 forks source link

Add vector<Part> param to Multipart initialization #923

Closed sivachandran closed 11 months ago

sivachandran commented 1 year ago

Adds std::vector<Part> parameter support to Multipart initialization. The change allows us to construct the Multipart dynamically by adding the Part selectively and pass the vector to Multipart.

COM8 commented 1 year ago

@sivachandran thanks for contributing! Could you please also add a move constructor here?