You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ The Ruby `subscribe_to` helper call is still necessary with this approach to gra
82
82
83
83
The configuration is set separately for each environment in the generated `config/private_pub.yml` file. Here are the options.
84
84
85
-
*`server`: The URL to use for the Faye server.
85
+
*`server`: The URL to use for the Faye server such as `http://localhost:9292/faye`.
86
86
*`secret_token`: A secret hash to secure the server. Can be any string.
87
87
*`signature_expiration`: The length of time in seconds before a subscription signature expires. If this is not set there is no expiration. Note: if Faye is on a separate server from the Rails app, the system clocks must be in sync for the expiration to work properly.
88
88
@@ -102,7 +102,7 @@ The `subscribe_to` helper will output the following script which subscribes the
102
102
</script>
103
103
```
104
104
105
-
The signature and timestamp checked on the Faye server to ensure users are only able to access channels you subscribe them too. The signature will automatically expire after the time specified in the configuration.
105
+
The signature and timestamp checked on the Faye server to ensure users are only able to access channels you subscribe them to. The signature will automatically expire after the time specified in the configuration.
106
106
107
107
The `publish_to` method will send a post request to the Faye server (using `Net::HTTP`) instructing it to send the given data back to the browser.
0 commit comments