@@ -78,7 +78,7 @@ Here's the API in a nutshell.
7878
7979``` java
8080// Create a new Pusher instance
81- PusherOption options = new PusherOptions (). setCluster(YOUR_APP_CLUSTER );
81+ PusherOptions options = new PusherOptions (). setCluster(YOUR_APP_CLUSTER );
8282Pusher pusher = new Pusher (YOUR_APP_KEY , options);
8383
8484pusher. connect(new ConnectionEventListener () {
@@ -121,7 +121,7 @@ More information in reference format can be found below.
121121The standard constructor take an application key which you can get from the app's API Access section in the Pusher dashboard.
122122
123123``` java
124- PusherOption options = new PusherOptions (). setCluster(YOUR_APP_CLUSTER );
124+ PusherOptions options = new PusherOptions (). setCluster(YOUR_APP_CLUSTER );
125125Pusher pusher = new Pusher (YOUR_APP_KEY , options);
126126```
127127
@@ -141,7 +141,7 @@ If you need finer control over the endpoint then the setHost, setWsPort and setW
141141In order to send and receive messages you need to connect to Pusher.
142142
143143``` java
144- PusherOption options = new PusherOptions (). setCluster(YOUR_APP_CLUSTER );
144+ PusherOptions options = new PusherOptions (). setCluster(YOUR_APP_CLUSTER );
145145Pusher pusher = new Pusher (YOUR_APP_KEY , options);
146146pusher. connect();
147147```
@@ -165,7 +165,7 @@ After disconnection the Pusher instance will release any internally allocated re
165165Implement the ` ConnectionEventListener ` interface to receive connection state change events:
166166
167167``` java
168- PusherOption options = new PusherOptions (). setCluster(YOUR_APP_CLUSTER );
168+ PusherOptions options = new PusherOptions (). setCluster(YOUR_APP_CLUSTER );
169169Pusher pusher = new Pusher (YOUR_APP_KEY , options);
170170pusher. connect(new ConnectionEventListener () {
171171 @Override
0 commit comments