type alias Client

MikroTik API client interface

Provides high-level methods for executing commands and managing the connection. Handles automatic request multiplexing via tags.

Properties

send: (command: Command) => Promise<Reply[]>

Execute a command and await all replies

quit: () => Promise<void>

Close the connection gracefully

Usage

import { type Client } from "client.ts";