LocalProxyServer constructor

LocalProxyServer({
  1. String? ip,
  2. int? port,
})

Constructor for LocalProxyServer. Optionally accepts an IP and port to bind the server.

Implementation

LocalProxyServer({this.ip, this.port}) {
  // Set global config values if provided.
  Config.ip = ip ?? Config.ip;
  Config.port = port ?? Config.port;
}