Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grm/src/mod.ts>Connection

MTProto API Client for Deno 🦕
Go to Latest
class Connection
Re-export
import { Connection } from "https://deno.land/x/grm@0.5.2/src/mod.ts";

Constructors

new
Connection(unnamed 0: ConnectionInterfaceParams)

Properties

private
_recvCancelPromise: Promise<CancelHelper>
private
optional
_recvCancelResolve: (value: CancelHelper) => void
private
optional
_recvTask: Promise<void>
private
_sendCancelPromise: Promise<CancelHelper>
private
optional
_sendCancelResolve: (value: CancelHelper) => void
private
optional
_sendTask: Promise<void>
protected
_codec: any
protected
_obfuscation: any
_connected: boolean
_dcId: number
readonly
_ip: string
_log: Logger
readonly
_port: number
optional
_proxy: ProxyInterface
_recvArray: AsyncQueue
_sendArray: AsyncQueue
_testServers: boolean
optional
PacketCodecClass: PacketCodec