跳到主要内容

serve

启动服务器,监听指定端口

声明

void serve()

参数

参数名描述
port

返回值

使用方式

返回文档