Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/deno
index
BaseMtProxyTransport
Class BaseMtProxyTransport
Abstract
Base for a TCP transport that connects via an MTProxy
Hierarchy (
View Summary
)
BaseMtProxyTransport
MtProxyTcpTransport
Implements
TelegramTransport
Index
Constructors
constructor
Properties
_proxy
Methods
_connect
Tcp
connect
get
Mtproxy
Info
packet
Codec
setup
Constructors
constructor
new
BaseMtProxyTransport
(
proxy
:
MtProxySettings
)
:
BaseMtProxyTransport
Parameters
proxy
:
MtProxySettings
Information about the proxy
Returns
BaseMtProxyTransport
Properties
Readonly
_proxy
_proxy
:
MtProxySettings
Methods
Abstract
_connect
Tcp
_connectTcp
(
endpoint
:
TcpEndpoint
)
:
Promise
<
ITcpConnection
>
Parameters
endpoint
:
TcpEndpoint
Returns
Promise
<
ITcpConnection
>
connect
connect
()
:
Promise
<
ITelegramConnection
>
Returns
Promise
<
ITelegramConnection
>
get
Mtproxy
Info
getMtproxyInfo
()
:
RawInputClientProxy
Returns
RawInputClientProxy
packet
Codec
packetCodec
(
dc
:
BasicDcOption
)
:
IPacketCodec
Parameters
dc
:
BasicDcOption
Returns
IPacketCodec
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
Constructors
constructor
Properties
_proxy
Methods
_connect
Tcp
connect
get
Mtproxy
Info
packet
Codec
setup
Documentation - v0.19.5
Loading...
Base for a TCP transport that connects via an MTProxy