<commit_before>gwt-websockets
--------------

[![Build Status](https://secure.travis-ci.org/realityforge/gwt-websockets.png?branch=master)](http://travis-ci.org/realityforge/gwt-websockets)

A simple library to provide web sockets support to GWT.

Quick Start
===========

The simplest way to use the library is to add the following dependency
into the build system. i.e.

```xml
<dependency>
   <groupId>org.realityforge.gwt.websockets</groupId>
   <artifactId>gwt-websockets</artifactId>
   <version>0.6</version>
   <scope>provided</scope>
</dependency>
```

Then you add the following snippet into the .gwt.xml file.

```xml
<module rename-to='myapp'>
  ...

  <!-- Enable the websocket library -->
  <inherits name="org.realityforge.gwt.websockets.WebSockets"/>
</module>
```

Then you can interact with the WebSocket from within the browser.

```java
final WebSocket webSocket = WebSocket.newWebSocketIfSupported();<commit_msg>Bump the version in preparation for a 1.0 release<commit_after>gwt-websockets
--------------

[![Build Status](https://secure.travis-ci.org/realityforge/gwt-websockets.png?branch=master)](http://travis-ci.org/realityforge/gwt-websockets)

A simple library to provide web sockets support to GWT.

Quick Start
===========

The simplest way to use the library is to add the following dependency
into the build system. i.e.

```xml
<dependency>
   <groupId>org.realityforge.gwt.websockets</groupId>
   <artifactId>gwt-websockets</artifactId>
   <version>1.0</version>
   <scope>provided</scope>
</dependency>
```

Then you add the following snippet into the .gwt.xml file.

```xml
<module rename-to='myapp'>
  ...

  <!-- Enable the websocket library -->
  <inherits name="org.realityforge.gwt.websockets.WebSockets"/>
</module>
```

Then you can interact with the WebSocket from within the browser.

```java
final WebSocket webSocket = WebSocket.newWebSocketIfSupported();
{'fraction_non_alphanumeric': 0.1529968454258675, 'fraction_numerical': 0.0031545741324921135, 'mean_word_length': 4.286111111111111, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6899806', 'n_tokens_mistral': 647, 'n_tokens_neox': 587, 'n_words': 159}