Skip to content

mgrue/WebSocketGWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple GWT module to make the WebSocket object from JS available in Java.
Tested with Chrome 16 and FF8. 

Usage:

1. Include the module jar in your project's classpath

2. Add the following line to your module's gwt.xml file:
	<inherits name='ch.performancebuildings.websocket.WebSocketGWT'/>
	
3. In your Java code write:
	WebSocket ws = new WebSocket("ws://whateverhost");
	ws.addHandler(...);
	ws.send("some_message");
	
4. Enjoy or complain.

About

A very simple wrapper around WebSocket for GWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages