GithubHelp home page GithubHelp logo

WebSocket support about strophejs HOT 8 CLOSED

strophe avatar strophe commented on July 28, 2024
WebSocket support

from strophejs.

Comments (8)

Gordin avatar Gordin commented on July 28, 2024

I updated my WebSocket branch to the latest version of this repo and created a pull request for this: #10
There were some conflicts in the merge due to #1 but everything I tested works fine and the unittests also pass. Still if there are bugs due to my merge please comment.

from strophejs.

Gordin avatar Gordin commented on July 28, 2024

@metajack Just wondering if you looked at my branch yet. Any thoughts about actually merging it?

from strophejs.

metajack avatar metajack commented on July 28, 2024

Merge away. @Gordin is now also a committer. Great job!

from strophejs.

Gordin avatar Gordin commented on July 28, 2024

Merged #10
StropheJS now Supports WebSockets :)

from strophejs.

nurnabisiddique avatar nurnabisiddique commented on July 28, 2024

do you have any example on strophe web socket pai

from strophejs.

rastkojokic avatar rastkojokic commented on July 28, 2024

Any examples of how to use web socket?

Thanks!

from strophejs.

Gordin avatar Gordin commented on July 28, 2024

You need an XMPP Server that has support for WebSocket connections. If you have that, just replace the BOSH connection URL with a WebSocket URL (usually ws://server.tld:5280/xmpp-websocket) and Strophe will use WebSockets instead of BOSH. Everything will work just as with BOSH otherwise.
Read the documentation for your server on how to setup WebSocket connections.

from strophejs.

rastkojokic avatar rastkojokic commented on July 28, 2024

Thanks @Gordin . That's all I needed!

Have a good day!

from strophejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.