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
ReadonlyBASE_OPTIONS: {
autoConnect: false;
reconnection: true;
reconnectionAttempts: 5;
reconnectionDelay: 1000;
}
ReadonlyautoConnect: false
Readonlyreconnection: true
ReadonlyreconnectionAttempts: 5
ReadonlyreconnectionDelay: 1000
ReadonlyPATHS: {
chat: "/socket.io/chat";
drawing: "/socket.io/drawing";
game: "/socket.io/game";
}
Readonlychat: "/socket.io/chat"
Readonlydrawing: "/socket.io/drawing"
Readonlygame: "/socket.io/game"
ReadonlyURL: any
소켓 설정을 정의한 상수입니다.