Giter VIP home page Giter VIP logo

Comments (6)

shanielh avatar shanielh commented on August 20, 2024

Isn't implemented yet?

from wampsharp.

darkl avatar darkl commented on August 20, 2024

Not implented yet. Note this is a WAMP client feature. You are welcome to write a pull request.

from wampsharp.

shanielh avatar shanielh commented on August 20, 2024

Oh, I thought it's a client feature. We're good.

from wampsharp.

alexandru-calinoiu avatar alexandru-calinoiu commented on August 20, 2024

@darkl I might take a look at this, shall I send a PR on the on wamp1 or 2?

from wampsharp.

darkl avatar darkl commented on August 20, 2024

Hmmm,
The WAMPv1 and WAMPv2 client implementations are different (wampv2 branch also has WAMPv1 implementation, but its WAMPv2 client is implemented differently).

The reason I never implemented this is because in the wampv1 branch the interface for IWampConnection is ISubject which is an IObservable.
Due to rx guidelines, after an IObservable has sent OnError or OnCompleted, it should never send any further messages. This makes the revive feature problematic - since after an OnError or OnCompleted, the connection will try to reconnect and then send other messages to its observers.
I've changed the interface for IWampConnection in the wampv2 branch, so now it is no longer a ISubject and we won't break rx guidelines.

So if you're willing to work on this, please work on wampv2 branch. I guess you should work on the WAMPv1 client there, since WAMPv2 client is still in work in progress.

Thanks

from wampsharp.

darkl avatar darkl commented on August 20, 2024

Implemented for WAMPv2, see #60.

from wampsharp.

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.