Skip to content

libcURL.EasyHandle.Constructor

Andrew Lambert edited this page Nov 26, 2022 · 13 revisions

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

Clone this wiki locally