Skip to content

Commit

Permalink
Update README for consumer.unsubscribeAndDisconnect()
Browse files Browse the repository at this point in the history
  • Loading branch information
h0jeZvgoxFepBQ2C committed Apr 6, 2019
1 parent 69c519e commit 390b3bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ subscription.perform("away");
JsonObject params = new JsonObject();
params.addProperty("foo", "bar");
subscription.perform("appear", params);

// 6. Unsubscribe & close connection
consumer.unsubscribeAndDisconnect();
```

### Passing Parameters to Channel
Expand Down

0 comments on commit 390b3bf

Please sign in to comment.