Setup web-socket connection
- Add authentification socket.io with jwt token
This commit is contained in:
parent
cb11acc428
commit
ba47d8b1d4
5 changed files with 120 additions and 3 deletions
5
back/src/Model/Websocket/ExSocketInterface.ts
Normal file
5
back/src/Model/Websocket/ExSocketInterface.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import {Socket} from "socket.io";
|
||||
|
||||
export interface ExSocketInterface extends Socket {
|
||||
token: object;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue