Server::host()
Returns the correct host
Server::host(bool $forwarded = false): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$forwarded | bool |
false |
Deprecated. Todo: remove in 3.7.0 |
Return type
string