Created
June 21, 2012 13:52
-
-
Save tily/2965857 to your computer and use it in GitHub Desktop.
socket.io ネームスペース認証時 callback の挙動を調べる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ node socket_io_namespace_authorization_test.js localhost 1234 | |
info - socket.io started | |
/null_true への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /null_true で connect を受信しました (理由:undefined) | |
---------------------------------------------------------------------- | |
/null_false への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /null_false で connect_failed を受信しました (理由:unauthorized) | |
---------------------------------------------------------------------- | |
/ascii_true への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /ascii_true で error を受信しました (理由:) | |
---------------------------------------------------------------------- | |
/ascii_false への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /ascii_false で error を受信しました (理由:) | |
---------------------------------------------------------------------- | |
/unauthorized_true への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /unauthorized_true で connect_failed を受信しました (理由:unauthorized) | |
---------------------------------------------------------------------- | |
/unauthorized_false への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /unauthorized_false で connect_failed を受信しました (理由:unauthorized) | |
---------------------------------------------------------------------- | |
/multibyte_true への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /multibyte_true で error を受信しました (理由:) | |
---------------------------------------------------------------------- | |
/multibyte_false への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /multibyte_false で error を受信しました (理由:) | |
---------------------------------------------------------------------- | |
/ascii への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /ascii で error を受信しました (理由:) | |
---------------------------------------------------------------------- | |
/multibyte への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /multibyte で error を受信しました (理由:) | |
---------------------------------------------------------------------- | |
/unauthorized への接続を試行しています | |
socket 全体で connect を受信しました | |
名前空間 /unauthorized で connect_failed を受信しました (理由:unauthorized) | |
---------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment