We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ee66e commit c9c70d0Copy full SHA for c9c70d0
README.md
@@ -63,7 +63,18 @@ pusher_client = Pusher::Client.new({
63
64
This `client` will have all the functionality listed on the main Pusher class (which proxies to a client internally).
65
66
+If you want to set the `host` value for your client then you can do so when instantiating a Pusher client like so:
67
68
+``` ruby
69
+pusher_client = Pusher::Client.new({
70
+ app_id: 'your-pusher-app-id',
71
+ key: 'your-pusher-key',
72
+ secret: 'your-pusher-secret',
73
+ host: 'your-pusher-host'
74
+})
75
+```
76
+
77
+This is useful if, for example, you've created an app on the EU cluster and wish to set the host to be `api-eu.pusher.com`.
78
79
## Interacting with the Pusher service
80
0 commit comments