@@ -27,7 +27,7 @@ out of the box in most modern browsers (old versions of Edge and IE require
2727languages.
2828
2929Mercure comes with an authorization mechanism,
30- automatic re-connection in case of network issues
30+ automatic reconnection in case of network issues
3131with retrieving of lost updates, a presence API,
3232"connection-less" push for smartphones and auto-discoverability (a supported
3333client can automatically discover and subscribe to updates of a given resource
@@ -84,7 +84,7 @@ and a managed, High Availability Hub are also provided.
8484Configuration
8585-------------
8686
87- The preferred way to configure the MercureBundle is using
87+ The preferred way to configure MercureBundle is using
8888:doc: `environment variables </configuration >`.
8989
9090When MercureBundle has been installed, the ``.env `` file of your project
@@ -97,7 +97,7 @@ and you can skip straight to the next section.
9797Otherwise, set the URL of your hub as the value of the ``MERCURE_URL ``
9898and ``MERCURE_PUBLIC_URL `` env vars.
9999Sometimes a different URL must be called by the Symfony app (usually to publish),
100- and the JavaScript client (usually to subscrribe ). It's especially common when
100+ and the JavaScript client (usually to subscribe ). It's especially common when
101101the Symfony app must use a local URL and the client-side JavaScript code a public one.
102102In this case, ``MERCURE_URL `` must contain the local URL that will be used by the
103103Symfony app (e.g. ``https://mercure/.well-known/mercure ``), and ``MERCURE_PUBLIC_URL ``
@@ -297,7 +297,7 @@ and to subscribe to it:
297297 Authorization
298298-------------
299299
300- Mercure also allows to dispatch updates only to authorized clients.
300+ Mercure also allows dispatching updates only to authorized clients.
301301To do so, mark the update as **private ** by setting the third parameter
302302of the ``Update `` constructor to ``true ``::
303303
@@ -348,7 +348,7 @@ is the way to go.
348348.. tip ::
349349
350350 The native implementation of EventSource doesn't allow specifying headers.
351- For example, authorization using Bearer token. In order to achieve that, use `a polyfill `_
351+ For example, authorization using a Bearer token. In order to achieve that, use `a polyfill `_
352352
353353 .. code-block :: javascript
354354
@@ -559,7 +559,7 @@ its Mercure support.
559559Testing
560560--------
561561
562- During unit testing there is not need to send updates to Mercure.
562+ During unit testing there is no need to send updates to Mercure.
563563
564564You can instead make use of the `MockHub `::
565565
0 commit comments