-
문제
환경node.js: 코드const KAKAOTALK_CLIENT = new TalkClient();
KAKAOTALK_CLIENT.on("error", (err) => {
logger.error("카카오톡 에러: %s",err);
//mainWindow.webContents.send("kakaotalk-error",err);
});
KAKAOTALK_CLIENT.on("switch_server", () => {
logger.warning("카카오톡 서버 스위치");
mainWindow.webContents.send("kakaotalk-switch_server");
});
KAKAOTALK_CLIENT.on("disconnected", (reason) => {
logger.error("카카오톡 연결 끊어짐: %s",reason);
mainWindow.webContents.send("kakaotalk-disconnect",reason);
});
KAKAOTALK_CLIENT.on("user_join", userJoinCallback);
KAKAOTALK_CLIENT.on("chat",kakaotalkMessageCallback);
// ... |
Beta Was this translation helpful? Give feedback.
Answered by
nunnu1028
Jun 11, 2021
Replies: 1 comment 3 replies
-
link 처럼 해보시고, 패킷에도 잡히지 않고 그냥 끊어지지 않는다면 잘못된 req를 보냈을 확률이 높습니다. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
mschadev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
link 처럼 해보시고, 패킷에도 잡히지 않고 그냥 끊어지지 않는다면 잘못된 req를 보냈을 확률이 높습니다.