routeros_api library
A library for communicating with MikroTik RouterOS devices via the API protocol.
This package provides a high-level RouterOSClient that supports:
- Persistent TCP/SSL connections.
- Automatic heartbeats (keep-alive) and reconnection.
- Command execution with advanced filtering and property selection.
- Real-time data streaming via Dart Streams.
Classes
- RouterOSClient
- A high-level client for communicating with MikroTik RouterOS devices via the API protocol.
Exceptions / Errors
- RouterOSException
- Exception thrown when the RouterOS API returns an error (!trap) or when a fatal protocol error occurs.