libcURL.IsProtocolAvailable - charonn0/RB-libcURL GitHub Wiki
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")