File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Table of content:
24
24
## Usage
25
25
26
26
``` ts
27
- import { serve } from " https://deno.land/std@0.166.0 /http/server.ts" ;
27
+ import { serve } from " https://deno.land/std@0.220.1 /http/server.ts" ;
28
28
import { Server } from " https://deno.land/x/socket_io@0.2.0/mod.ts" ;
29
29
30
30
const io = new Server ();
@@ -86,9 +86,9 @@ You need to use the [.handle()](https://github.com/oakserver/oak#handle-method)
86
86
method:
87
87
88
88
``` ts
89
- import { serve } from " https://deno.land/std@0.166.0 /http/server.ts" ;
89
+ import { serve } from " https://deno.land/std@0.220.1 /http/server.ts" ;
90
90
import { Server } from " https://deno.land/x/socket_io@0.2.0/mod.ts" ;
91
- import { Application } from " https://deno.land/x/oak@v11.1 .0/mod.ts" ;
91
+ import { Application } from " https://deno.land/x/oak@14.2 .0/mod.ts" ;
92
92
93
93
const app = new Application ();
94
94
@@ -281,12 +281,12 @@ servers.
281
281
Documentation: https://socket.io/docs/v4/redis-adapter/
282
282
283
283
``` js
284
- import { serve } from " https://deno.land/std/http/server.ts" ;
284
+ import { serve } from " https://deno.land/std@0.220.1 /http/server.ts" ;
285
285
import {
286
286
createRedisAdapter ,
287
287
createRedisClient ,
288
288
Server ,
289
- } from " https://deno.land/x/socket_io/mod.ts" ;
289
+ } from " https://deno.land/x/socket_io@0.2.0 /mod.ts" ;
290
290
291
291
const [pubClient , subClient ] = await Promise .all ([
292
292
createRedisClient ({
You can’t perform that action at this time.
0 commit comments