View source code
Display the source code in etc/c/curl.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Function etc.c.curl.curl_easy_duphandle
extern(C) void* curl_easy_duphandle
(
void* curl
);
Name
curl_easy_duphandle()
Description
Creates a new curl session handle with the same options set for the handle passed in. Duplicating a handle could only be a matter of cloning data and options, internal state info and things like persistant connections cannot be transfered. It is useful in multithreaded applications when you can run curl_easy_duphandle() for each new thread to avoid a series of identical curl_easy_setopt() invokes in every thread.
Authors
License
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.