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.