[request.scheme]

request.scheme is a slot in the request namespace, in Hyperlambda, the language of Magic Cloud. Returns the scheme (http or https) of the current incoming request.

  • Returns: Resolves to the scheme of the current request, such as http or https

JSON declaration

This is the complete declaration of request.scheme, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "request.scheme",
  "description": "Returns the scheme (http or https) of the current incoming request",
  "signature": {
    "output": {
      "mode": "Value",
      "kind": "http-scheme,text",
      "description": "Resolves to the scheme of the current request, such as http or https"
    }
  }
}

← request.ip all request.* slots request.url →