pragmatism first

CURLINFO_SCHEME(3) - Linux manual page online | Library functions

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

Loading manual page ...