Skip to content

libcURL.IsProtocolAvailable

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

libcURL.IsProtocolAvailable

Method Signature

 Protected Function IsProtocolAvailable(ParamArray Schemes() As String) As Boolean

Parameters

Name Type Comment
Schemes String paramarray One or more protocol schemes to query.

Return value

Returns True if libcURL is available and supports the protocol(s) specified by the Schemes parameter.

Example

This example checks to see whether libcURL was built with HTTP/1.x, HTTP2, and FTP support:

 Dim available As Boolean = libcURL.IsProtocolAvailable("http", "http2", "ftp")

See also

Clone this wiki locally