XMPP 웹 클라이언트 및 bosh에 익숙하지 않습니다. 채팅 데모를 위해 stropher js를 사용하고 있습니다.XMPP 보스 응답 문제
내 서버에서 punjab bosh가 성공적으로 설치되었습니다. 나는 bosh server url의 post에 연결 설정 요청을 보내고 있습니다.
요청 :
<body rid='2122769834' xmlns='http://jabber.org/protocol/httpbind' to='MY server Domain URL' xml:lang='en' wait='60' hold='1' content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/>
응답 :
<body xmlns='http://jabber.org/protocol/httpbind' inactivity='60' secure='true' authid='f3fccd4d' content='text/xml; charset=utf-8' window='3' polling='15' sid='a72390785c3cce0c819e6f0943143fae54625258' requests='2' wait='60'/>
그리고 이를 연결하고 응답이 위에서 얻을 때의 요청 아래에 자동으로 새 보낼 것입니다 요청으로 나에게 연속 상태를 제공 데이터.
요청
<body rid='2122769835' xmlns='http://jabber.org/protocol/httpbind' sid='a72390785c3cce0c819e6f0943143fae54625258'/>
응답 : 요청과 응답보다 점점 이상
<body xmlns='http://jabber.org/protocol/httpbind'/>
연속 보냅니다. 나는 다른 다른 데모로 시도했다. 그러나 모든 곳에서 동일한 유형의 데이터를 얻고 있습니다.
로그인 자격 인증이 수행되지 않는 이유가 표시되지 않습니다.
제발 도와주세요 ... !!
미리 감사드립니다 .. !!