Constructor: dcOption

Back to constructors index

DC option


Name Type Required Description
ipv6 Bool Optional Ipv6?
media_only Bool Optional Media only?
tcpo_only Bool Optional Tcpo only?
cdn Bool Optional Cdn?
static Bool Optional Static?
id int Yes ID
ip_address string Yes Ip address
port int Yes Port
secret bytes Optional Secret

Type: DcOption


$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int, 'secret' => 'bytes'];

Or, if you’re into Lua:

dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int, secret='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.