8000 GitHub - licheng-xd/webcat: Webcat is a faster and simpler Http and Webscoket server by netty.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

licheng-xd/webcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Webcat

Webcat is a faster and simpler Http and Webscoket server by netty.

快速启动

在spring的配置中,加上对webcat的package扫描:

<context:component-scan base-package="com.lchml.webcat"/>

设置端口并启动:

public static void main(String[] args) throws WebcatStartException {
    HttpServer httpServer = context.getBean(WebcatHttpServer.class);
    httpServer.setPort(8080);
    httpServer.start();
    
    WebcatServer wsServer = context.getBean(WebcatWsServer.class);
    wsServer.setPort(8081);
    wsServer.start();
}

文档

http://www.lchml.com/technology/webcat-doc/

About

Webcat is a faster and simpler Http and Webscoket server by netty.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0