Skip to content

Commit

Permalink
Remove examples directory - it's currently handled by external gems
Browse files Browse the repository at this point in the history
  • Loading branch information
imanel committed Dec 20, 2012
1 parent 50e18ff commit f6de9ac
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 483 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,17 @@ frame.next # "Hello"
frame.next # "world!""
```

## Examples
## Examples & Projects using WebSocket-Ruby

For examples on how to use WebSocket Ruby see examples directory in the repository. Provided examples are fully working servers - they are passing full autobahn compatibility suit.
- [WebSocket-EventMachine-Client](https://github.com/imanel/websocket-eventmachine-client) - client based on EventMachine
- [WebSocket-EventMachine-Server](https://github.com/imanel/websocket-eventmachine-server) - server based on EventMachine (drop-in replacement for EM-WebSocket)

## Native extension

WebSocket gem is written in pure Ruby, without any dependencies or native extensions and still is one of the fastest implementations of WebSocket API. However, if you want to increase it's speed even further, I created additional gem with dedicated native extensions for both C and Java. Those extensions provide 20-30% increase in speed(more accurate comparison can be found in autobahn test results)

In order to use native extension just install [websocket-native](http://github.com/imanel/websocket-ruby-native) gem or add it to Gemfile - WebSocket will automatically detect and load it.

## Examples & Projects using WebSocket-Ruby

- [WebSocket-EventMachine-Server](https://github.com/imanel/websocket-eventmachine-server) - server based on EventMachine (drop-in replacement for EM-WebSocket)

## License

(The MIT License)
Expand Down
11 changes: 0 additions & 11 deletions autobahn-client.json

This file was deleted.

15 changes: 0 additions & 15 deletions autobahn-server.json

This file was deleted.

162 changes: 0 additions & 162 deletions examples/base.rb

This file was deleted.

70 changes: 0 additions & 70 deletions examples/client.rb

This file was deleted.

56 changes: 0 additions & 56 deletions examples/server.rb

This file was deleted.

52 changes: 0 additions & 52 deletions examples/tests/autobahn_client.rb

This file was deleted.

Loading

0 comments on commit f6de9ac

Please sign in to comment.