@@ -144,9 +144,9 @@ You can even watch changes happening in the browser by using: `PANTHER_NO_HEADLE
144144Turbo Streams are a way for the server to send partial page updates to clients.
145145There are two main ways to receive the updates:
146146
147- - in response to a user action, for instance when the user submits a form;
148- - asynchronously, by sending updates to clients using [ Mercure] ( https://mercure.rocks ) ,
149- [ WebSocket] ( https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API ) and similar protocols.
147+ - in response to a user action, for instance when the user submits a form;
148+ - asynchronously, by sending updates to clients using [ Mercure] ( https://mercure.rocks ) ,
149+ [ WebSocket] ( https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API ) and similar protocols.
150150
151151#### Forms
152152
@@ -436,17 +436,17 @@ class Book { /* ... */ }
436436
437437The `Broadcast` attribute comes with a set of handy options :
438438
439- - `transports` (`string[]`) : a list of transports to broadcast to
440- - `topics` (`string[]`) : a list of topics to use, the default topic is derived from the FQCN of the entity and from its id
441- - `template` (`string`) : Twig template to render (see above)
439+ - `transports` (`string[]`) : a list of transports to broadcast to
440+ - `topics` (`string[]`) : a list of topics to use, the default topic is derived from the FQCN of the entity and from its id
441+ - `template` (`string`) : Twig template to render (see above)
442442
443443Options are transport-sepcific.
444444When using Mercure, some extra options are supported :
445445
446- - `private` (`bool`) : marks Mercure updates as private
447- - `sse_id` (`string`) : ` id` field of the SSE
448- - `sse_type` (`string`) : ` type` field of the SSE
449- - `sse_retry` (`int`) : ` retry` field of the SSE
446+ - `private` (`bool`) : marks Mercure updates as private
447+ - `sse_id` (`string`) : ` id` field of the SSE
448+ - `sse_type` (`string`) : ` type` field of the SSE
449+ - `sse_retry` (`int`) : ` retry` field of the SSE
450450
451451Example :
452452
0 commit comments