httpStopServer (Function)

Signature: httpStopServer(serverID: int) -> int

Description: Stops the HTTP server and returns the runtime status.

Parameters

  • serverID (int): Server identifier to stop

Returns: int

Example

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