feat: 更新WebSocket 优化逻辑

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2021-08-03 16:59:43 +08:00
parent def62e2940
commit 586b6acbbc
45 changed files with 5465 additions and 2376 deletions

View File

@@ -1,7 +1,7 @@
/// <reference types="@ccms/nashorn" />
/// <reference types="@javatypes/tomcat-websocket-api" />
import { Server, ServerOptions } from './socket-io'
import { Server, ServerOptions } from './socket.io'
interface SocketIOStatic {
/**
@@ -44,7 +44,7 @@ let io: SocketStatic = function (pipeline: any, options: Partial<ServerOptions>)
}
io.Instance = Symbol("@ccms/websocket")
export default io
export * from './socket-io'
export * from './socket.io'
export * from './client'
export * from './server'
export * from './transport'
export * from './engine.io/transport'