- pxblat.stop_server(host: str, port: int)[source]
Stop a running server.
This function stops a running server by sending a “quit” message to the server. The function takes the hostname and port number of the server as arguments. The function returns None.
Example
>>> stop_server("localhost", 8080)