Gambas Documentation
Documents

Request.Scheme (gb.web)

Static Property Scheme As String

Return or set the scheme of the request.

It is normally http or https.

The value of this property is guessed by analyzing a few well-known request headers sent by the HTTP server to the CGI script. If it fails for you, please fill an issue on the Gambas bugtracker.