File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
i18n/en/docusaurus-plugin-content-docs/current/extensions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -286,12 +286,12 @@ client.on('ping', heartbeat);
286286
287287``` typescript
288288import { Configuration , Inject } from ' @midwayjs/core' ;
289- import { MidwayWSFramework } from ' @midwayjs/ws' ;
289+ import { Framework } from ' @midwayjs/ws' ;
290290
291291@Configuration ()
292292export class WSConfiguration {
293293 @Inject ()
294- wsFramework: MidwayWSFramework ;
294+ wsFramework: Framework ;
295295
296296 async onReady() {
297297 // 设置升级前鉴权处理器
Original file line number Diff line number Diff line change @@ -286,12 +286,12 @@ You can set up an authentication handler when the application starts:
286286
287287``` typescript
288288import { Configuration , Inject } from ' @midwayjs/core' ;
289- import { MidwayWSFramework } from ' @midwayjs/ws' ;
289+ import { Framework } from ' @midwayjs/ws' ;
290290
291291@Configuration ()
292292export class WSConfiguration {
293293 @Inject ()
294- wsFramework: MidwayWSFramework ;
294+ wsFramework: Framework ;
295295
296296 async onReady() {
297297 // Set up pre-upgrade authentication handler
You can’t perform that action at this time.
0 commit comments