Package | Description |
---|---|
org.voovan.http.client | |
org.voovan.network | |
org.voovan.network.tcp | |
org.voovan.network.udp |
Modifier and Type | Method and Description |
---|---|
void |
HttpClient.asyncSend(Consumer<Response> async)
连接并发送请求,异步获得响应
|
void |
HttpClient.asyncSend(String location,
Consumer<Response> async)
连接并发送请求,异步获得响应
|
Response |
HttpClient.send()
连接并发送请求
|
Response |
HttpClient.send(String location)
连接并发送请求
|
void |
HttpClient.webSocket(String location,
WebSocketRouter webSocketRouter)
连接 Websocket
|
Modifier and Type | Method and Description |
---|---|
Object |
IoSession.syncRead()
同步读取消息
消息会经过 filter 的 decoder 函数处理后再返回
|
Modifier and Type | Method and Description |
---|---|
Object |
TcpSocket.syncRead()
同步读取消息
|
Modifier and Type | Method and Description |
---|---|
Object |
UdpSocket.syncRead()
同步读取消息
|
Copyright © 2020 Voovan. All rights reserved.