Signature: httpStopServer(serverID: int) -> int

Description: Stops the HTTP server and closes all connections.

Parameters #

  • serverID (int): Server identifier to stop

Returns: int

Example #

let result = httpStopServer(serverId)
print("Server stopped")