dcOption
Signature
Section titled “Signature”dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true this_port_only:flags.5?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption;Result type
Section titled “Result type”DcOption
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| ipv6 | flags.0?true | flags.0 | — | |
| media_only | flags.1?true | flags.1 | — | |
| tcpo_only | flags.2?true | flags.2 | — | |
| cdn | flags.3?true | flags.3 | — | |
| static | flags.4?true | flags.4 | — | |
| this_port_only | flags.5?true | flags.5 | — | |
| id | int | — | — | |
| ip_address | string | — | — | |
| port | int | — | — | |
| secret | flags.10?bytes | flags.10 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| ipv6 | 0 | Controlled by flags; present when this bit is set. |
| media_only | 1 | Controlled by flags; present when this bit is set. |
| tcpo_only | 2 | Controlled by flags; present when this bit is set. |
| cdn | 3 | Controlled by flags; present when this bit is set. |
| static | 4 | Controlled by flags; present when this bit is set. |
| this_port_only | 5 | Controlled by flags; present when this bit is set. |
| secret | 10 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import DcOptionPublic access: miniproto.raw.types.DcOption.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
DcOption - Accepted by:
config,updateDcOptions