[request.host]
request.host is a slot in the request namespace, in Hyperlambda, the language of Magic Cloud. Returns the host header (domain and optional port) of the current incoming request.
- Returns: Resolves to the host name from the current request
JSON declaration
This is the complete declaration of request.host, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "request.host",
"description": "Returns the host header (domain and optional port) of the current incoming request",
"signature": {
"output": {
"mode": "Value",
"kind": "host-name,text",
"description": "Resolves to the host name from the current request"
}
}
}
← request.headers.list |
all request.* slots |
request.ip → |