public class HttpApiController extends Object
| Constructor and Description |
|---|
HttpApiController() |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
chat(HttpRequest request,
HttpConfig httpConfig,
org.tio.core.ChannelContext channelContext) |
HttpResponse |
close(HttpRequest request,
HttpConfig httpConfig,
org.tio.core.ChannelContext channelContext)
关闭指定用户;
|
HttpResponse |
online(HttpRequest request,
HttpConfig httpConfig,
org.tio.core.ChannelContext channelContext)
判断用户是否在线接口;
|
public HttpResponse chat(HttpRequest request, HttpConfig httpConfig, org.tio.core.ChannelContext channelContext) throws Exception
Exceptionpublic HttpResponse online(HttpRequest request, HttpConfig httpConfig, org.tio.core.ChannelContext channelContext) throws Exception
request - httpConfig - channelContext - Exceptionpublic HttpResponse close(HttpRequest request, HttpConfig httpConfig, org.tio.core.ChannelContext channelContext) throws Exception
request - httpConfig - channelContext - ExceptionCopyright © 2018. All rights reserved.