-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.cURLSession.Constructor
Andrew Lambert edited this page Jan 12, 2023
·
3 revisions
libcURL.cURLSession.Constructor
Sub Constructor()
Sub Constructor(ExistingEasy As libcURL.EasyHandle)
Passing no parameters will create a brand-new instance with default values.
Name | Type | Comment |
---|---|---|
ExistingEasy | EasyHandle |
An instance of EasyHandle to be used directly (i.e. not duplicated) |
Creates a new instance of a cURLSession. If libcURL is not available at runtime, a PlatformNotSupportedException
will be raised.
If you pass an instance of EasyHandle then the new instance will take ownership of the EasyHandle and use it to conduct transfers. The EasyHandle will be reset before being used. To use a specific instance of EasyHandle without resetting its options, assign the instance to the EasyHandle property.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.