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

x/grm/network/connection/connection.ts>Connection

MTProto API Client for Deno 🦕
Popular
Latest
class Connection
import { Connection } from "https://deno.land/x/grm@0.8.2/network/connection/connection.ts";

Constructors

new
Connection(unnamed 0: ConnectionInterfaceParams)

Properties

private
optional
_recvTask: Promise<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
optional
recvCancel: CancellablePromise<any>
optional
sendCancel: CancellablePromise<any>