Variable SOCKET_CONFIGConst
SOCKET_CONFIG: {
BASE_OPTIONS: {
autoConnect: false;
reconnection: true;
reconnectionAttempts: 5;
reconnectionDelay: 1000;
};
PATHS: {
chat: "/socket.io/chat";
drawing: "/socket.io/drawing";
game: "/socket.io/game";
};
URL: any;
} = ...
Type declaration
Readonly
BASE_OPTIONS: {
autoConnect: false;
reconnection: true;
reconnectionAttempts: 5;
reconnectionDelay: 1000;
}
Readonly
autoConnect: false
Readonly
reconnection: true
Readonly
reconnectionAttempts: 5
Readonly
reconnectionDelay: 1000
Readonly
PATHS: {
chat: "/socket.io/chat";
drawing: "/socket.io/drawing";
game: "/socket.io/game";
}
Readonly
chat: "/socket.io/chat"
Readonly
drawing: "/socket.io/drawing"
Readonly
game: "/socket.io/game"
Readonly
URL: any
소켓 설정을 정의한 상수입니다.