Giter VIP home page Giter VIP logo

saleaesockettransporthla's People

Contributors

leonardmh avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zadammac diorcety

saleaesockettransporthla's Issues

ResponseHandlers need a better method of responding to frames which they don't intend to act on

Currently, implementers of ResponseHandler must respond either with None (which results in no response being sent) or a bytes object ready for transmission. This poses a problem with responders when they receive data that they have no intention of acting on.

The current best practice is to just respond with the same data that we received, but that is non-ideal for a lot of reasons.

A simple solution would be to implement a client-response message type which simply acknowledges that the message was received. The server would not be expected to act on that response.

Add better example(s) of how to implement custom responders

The FishResponder example is chuckle worthy and very simple to understand, but it's not a great practical example if you want to actually consume the data that is streamed out, process it, and then send packets back in to generate frames. A more realistic example would be helpful in getting started.

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.