gatekeeper_client library

Gatekeeper - Client

Classes

Gatekeeper
The Gatekeeper class manages TCP port access by interfacing with the GatekeeperDriver. It provides functionality to list, block, and unblock TCP ports with optional permission checks and sudo privileges.
GatekeeperClient
The GatekeeperClient class allows a client to connect to a GatekeeperServer and interact with it by sending commands such as login, listing blocked TCP ports, and blocking or unblocking specific TCP ports. It uses a socket connection to communicate with the server and expects responses in a specific format.
GatekeeperDriver
The GatekeeperDriver class is an abstract class that defines the contract for interacting with the system to manage TCP port access, resolve binary paths, and run commands.

Constants

gatekeeperVersion → const String