libcURL.EasyHandle.Constructor - charonn0/RB-libcURL GitHub Wiki
libcURL.EasyHandle.Constructor
Method Signatures
Sub Constructor()
Sub Constructor(CopyOpts As libcURL.EasyHandle)
'Sub Constructor(GlobalInitFlags As Integer = libcURL.CURL_GLOBAL_DEFAULT)
Parameters
Constructor(libcURL.EasyHandle)
| Name | Type | Comment |
|---|---|---|
| CopyOpts | EasyHandle | An existing EasyHandle that should be cloned. |
Constructor(Integer) Deprecated
| Name | Type | Comment |
|---|---|---|
| GlobalInitFlags | Integer | Optional. A CURL_GLOBAL_* constant with which to initialize libcURL. |
Remarks
Creates a new instance of an EasyHandle. Passing an EasyHandle to the constructor will clone the passed instance.
If libcURL is not available at runtime, a PlatformNotSupportedException will be raised.
See also
- EasyHandle.InitCallbacks
- EasyHandle.Instances
- cURLHandle.Constructor
- curl_easy_init in the libcURL documentation.
- curl_easy_duphandle in the libcURL documentation.