Class JsonServer

    • Constructor Detail

      • JsonServer

        public JsonServer()
        Create a new server using the default port.
      • JsonServer

        public JsonServer​(int port,
                          int timeout)
        Create a new server.
        Parameters:
        port - the port to listen on
        timeout - the timeout before closing unresponsive connections