Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/node
index
TelegramTransport
Interface TelegramTransport
interface
TelegramTransport
{
connect
:
(
dc
:
BasicDcOption
)
=>
Promise
<
ITelegramConnection
>
;
packetCodec
:
(
dc
:
BasicDcOption
)
=>
IPacketCodec
;
setup
(
crypto
:
ICryptoProvider
,
log
:
Logger
)
:
void
;
}
Implemented by
BaseMtProxyTransport
HttpProxyTcpTransport
SocksProxyTcpTransport
TcpTransport
Index
Properties
connect
packet
Codec
Methods
setup?
Properties
connect
connect
:
(
dc
:
BasicDcOption
)
=>
Promise
<
ITelegramConnection
>
packet
Codec
packetCodec
:
(
dc
:
BasicDcOption
)
=>
IPacketCodec
Methods
Optional
setup
setup
(
crypto
:
ICryptoProvider
,
log
:
Logger
)
:
void
Parameters
crypto
:
ICryptoProvider
log
:
Logger
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
connect
packet
Codec
Methods
setup
Documentation - v0.19.5
Loading...