teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
DcOption
Class DcOption
Hierarchy (
View Summary
)
VirtualClass
<
{
cdn
?:
boolean
;
id
:
int
;
ipAddress
:
string
;
ipv6
?:
boolean
;
mediaOnly
?:
boolean
;
port
:
int
;
secret
?:
bytes
;
static
?:
boolean
;
tcpoOnly
?:
boolean
;
thisPortOnly
?:
boolean
;
}
,
>
DcOption
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
cdn?
class
Name
class
Type
CONSTRUCTOR_
ID
id
ip
Address
ipv6?
media
Only?
original
Args
port
secret?
static?
SUBCLASS_
OF_
ID
tcpo
Only?
this
Port
Only?
Constructors
constructor
new
DcOption
(
args
:
{
cdn
?:
boolean
;
id
:
number
;
ipAddress
:
string
;
ipv6
?:
boolean
;
mediaOnly
?:
boolean
;
port
:
number
;
secret
?:
bytes
;
static
?:
boolean
;
tcpoOnly
?:
boolean
;
thisPortOnly
?:
boolean
;
}
,
)
:
DcOption
Parameters
args
:
{
cdn
?:
boolean
;
id
:
number
;
ipAddress
:
string
;
ipv6
?:
boolean
;
mediaOnly
?:
boolean
;
port
:
number
;
secret
?:
bytes
;
static
?:
boolean
;
tcpoOnly
?:
boolean
;
thisPortOnly
?:
boolean
;
}
Returns
DcOption
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
DcOption
Parameters
reader
:
any
Returns
DcOption
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
cdn
?:
boolean
;
id
:
number
;
ipAddress
:
string
;
ipv6
?:
boolean
;
mediaOnly
?:
boolean
;
port
:
number
;
secret
?:
bytes
;
static
?:
boolean
;
tcpoOnly
?:
boolean
;
thisPortOnly
?:
boolean
;
}
Returns
{
cdn
?:
boolean
;
id
:
number
;
ipAddress
:
string
;
ipv6
?:
boolean
;
mediaOnly
?:
boolean
;
port
:
number
;
secret
?:
bytes
;
static
?:
boolean
;
tcpoOnly
?:
boolean
;
thisPortOnly
?:
boolean
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
Optional
cdn
cdn
?:
boolean
class
Name
className
:
"DcOption"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
414687501
id
id
:
number
ip
Address
ipAddress
:
string
Optional
ipv6
ipv6
?:
boolean
Optional
media
Only
mediaOnly
?:
boolean
original
Args
originalArgs
:
{
cdn
?:
boolean
;
id
:
number
;
ipAddress
:
string
;
ipv6
?:
boolean
;
mediaOnly
?:
boolean
;
port
:
number
;
secret
?:
bytes
;
static
?:
boolean
;
tcpoOnly
?:
boolean
;
thisPortOnly
?:
boolean
;
}
port
port
:
number
Optional
secret
secret
?:
bytes
Optional
static
static
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2655248675
Optional
tcpo
Only
tcpoOnly
?:
boolean
Optional
this
Port
Only
thisPortOnly
?:
boolean
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
cdn
class
Name
class
Type
CONSTRUCTOR_
ID
id
ip
Address
ipv6
media
Only
original
Args
port
secret
static
SUBCLASS_
OF_
ID
tcpo
Only
this
Port
Only
GitHub
npm
Issues
teleproto - v1.229.0
Loading...