Skip to content

libcURL.cURLHandle.Constructor

Andrew Lambert edited this page Jun 7, 2015 · 12 revisions

libcURL.cURLHandle.Constructor

##Method Signatures

 Protected Sub Constructor(GlobalInitFlags As Integer)

##Parameters

Name Type Comment
GlobalInitFlags Integer A CURL_GLOBAL* constant. Use CURL_GLOBAL_DEFAULT unless you have a good reason.

##Notes Subclasses MUST call this Constructor in order to initialize libcURL: libcURL cannot be used before it has been initialized.

If libcURL has not yet been initialized with GlobalInitFlags, then libcURL is initialized with GlobalInitFlags. Otherwise nothing is initialized.

If libcURL is not available at runtime, a PlatformNotSupportedException will be raised.

##See also

Clone this wiki locally