是否有一些使用C#编写,支持BOSH的XMPP开源库可以使用?我查阅了AgsXMPP,但发现它好像不支持BOSH。但是Matrix支持BOSH,但需要付费。
XmppClientConnection xmpp;
xmpp = new XmppClientConnection();
xmpp.Port = 5280;
xmpp.Server = jidSender.Server;
xmpp.SocketConnectionType = agsXMPP.net.SocketConnectionType.Bosh;
xmpp.ConnectServer = "http://localhost:5280/http-bind";