README.md in async-slack-0.1.0 vs README.md in async-slack-0.1.1
- old
+ new
@@ -1,11 +1,10 @@
# Async::Slack
A simple asynchronous slack client implementation.
-[](http://travis-ci.org/socketry/async-slack)
-[](https://coveralls.io/r/socketry/async-slack)
+[](https://travis-ci.com/socketry/async-slack)
## Installation
Add this line to your application's Gemfile:
@@ -19,10 +18,24 @@
$ gem install async-slack
## Usage
-...
+### Real Time WebSockets
+
+It can use HTTP/2 WebSockets to connect to the Slack Real Time interface.
+
+```ruby
+require "async/slack"
+
+Async::Slack.connect(token: token) do |client|
+ client.real_time.connect do |connection|
+ while message = connection.read
+ pp message
+ end
+ end
+end
+```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)