| 程序包 | 说明 |
|---|---|
| org.smartboot.http.server |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpBootstrap |
HttpBootstrap.httpHandler(HttpServerHandler httpHandler)
往 http 处理器管道中注册 Handle
|
HttpBootstrap |
HttpBootstrap.setPort(int port)
Http服务端口号
|
HttpBootstrap |
HttpBootstrap.webSocketHandler(WebSocketHandler webSocketHandler)
获取websocket的处理器管道
|
Copyright © 2024. All rights reserved.