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 |
---|---|
void |
EIOSession.send(String msg) |
void |
EIOHandler.send(String msg) |
Modifier and Type | Method and Description |
---|---|
void |
SIOSession.emit(String event,
SIOHandler sioHandler,
Object... params) |
void |
SIOHandler.emit(String event,
SIOHandler sioHandler,
Object... params) |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketSession.send(Object obj)
发送 websocket 消息
|
protected void |
WebSocketSession.send(WebSocketFrame webSocketFrame)
发送 websocket 帧
|
void |
WebSocketSession.sendBinary(Object obj)
发送 websocket 消息二进制消息
|
Modifier and Type | Method and Description |
---|---|
void |
IoSession.syncSend(Object obj)
同步发送消息
消息会经过 filter 的 encoder 函数处理后再发送
|
Modifier and Type | Method and Description |
---|---|
void |
TcpSocket.syncSend(Object obj)
同步发送消息
|
Modifier and Type | Method and Description |
---|---|
void |
UdpSocket.syncSend(Object obj)
同步发送消息
|
Copyright © 2020 Voovan. All rights reserved.