Git Product home page Git Product logo

gwt-websockets's People

Contributors

darcymiranda avatar sksamuel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gwt-websockets's Issues

Binary support sample

Hi, I would like to see a sample of Binary websockets implementation. Once I receive binary data, how can I convert bytes to String/Int?

Bug: Multiple web sockets not working!

I tried your web socket implementation and it worked great! However, there is a bug when trying to open more than 1 web socket at the same time. In order to open more than 1 web socket at the same time, the JavaScript code for all ".s" needs to be changed to "[s]":

Doesn't work:

$wnd.s = new WebSocket(url);
$wnd.s.onopen = ...

Corrected version (works):

$wnd[s] = new WebSocket(url);
$wnd[s].onopen = ...

I hope that helps! By the way, great work on your GWT web socket implementation. Thank you :-D

Base64Utils causes GWT Compile Failure

When compiling my project, it terminates with the following message:

[ERROR] Line 88: No source code is available for type com.google.gwt.user.server.Base64Utils; did you forget to inherit a required module?

The reason is clear: Base64Utils is used in a client-side class but resides in the .server package.

This can't possibly work for anyone. Or did I make a mistake?

Secure Websocket (wss) Support

Hi,

do you have any plans to support secure websockets?
Or maybe you can point me into the right direction on how to implement it ;)

regards

Add licensing information

This looks like a very clean wrapper around websockets. Nice work. Unfortunately, the lack of a software licence declaration implies all-rights-reserved.

Would you be willing to license this GWT module under a permissive licence? LGPL, BSD, MIT or even public domain seem like good choices depending on your views.

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.