pragmatism first

CURLINFO_SCHEME(3) - manual page | Library functions

Get the URL scheme (sometimes called protocol) used in the connection.

Loading manual page ...