开发者

Add and Remove roster in eJabberd via asp.net web application

Hihi, would like to automate the adding and removing of eJabberd roster from my web application on asp.net, c#.开发者_如何学C Is there any advice on this?

I have been looking and trying on jsjac and jabber-net with no luck. Appreciate any guide on this.

Thanks in advance!

:)


you can do this by creating a new Ejabberd http Request handler module.

Create New http Request Handler Module. http://www.process-one.net/en/wiki/ejabberd_HTTP_request_handlers/ which accepts the data and processes it as you need, asign that module a url address in ejabberd config, then call that http-handler with a curl like serive (in php I used CURL, I don't know what is the replacement for this in ASP.NET).


Eventually, I have switched my eJabberd db to MySQL, and established a connection directly into the MySQL db from my web application for manipulating all the eJabberd's actions.

:)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜