Signature: httpCreateServer(port: int, address: string) -> int

Description: Creates an HTTP server bound to the specified port and address.

Parameters

Returns: int

Example

let serverId = httpCreateServer(8080, "127.0.0.1")
print("Server created with ID: ${serverId}")