Host
A host name and port configuration used for proxy or connection settings.
Notesโ
Specifies a network host by name or IP address and an optional port number. This configuration is used in contexts such as proxy settings and other connection configurations that require a target host.
Examplesโ
- YAML
- JSON
- XML
host:
name: proxy.example.com
port: 8888
{
"host": {
"name": "proxy.example.com",
"port": 8888
}
}
<host>
<name>proxy.example.com</name>
<port>8888</port>
</host>
Usageโ
Full configuration skeleton, with every option and its default
- YAML
- JSON
- XML
name: string
port: 0
{
"name": "string",
"port": 0
}
<host>
<name>string</name>
<port>0</port>
</host>
Propertiesโ
| Property | Type | Required | Default |
|---|---|---|---|
name | string | No | - |
port | integer | No | - |
Property Detailsโ
nameโ
Host name or address.
portโ
Host port.