Changes for page Версія 6: Налаштування
Last modified by Ashterix on 2024/07/11 10:08
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Version 6. Bundle config1 +2. Bundle config - Content
-
... ... @@ -2,11 +2,6 @@ 2 2 {{toc/}} 3 3 {{/box}} 4 4 5 -{{error}} 6 -**WARNING!!! **This version of the documentation is out of date. 7 -In JsonRpcBundle version 7, the configuration has undergone significant changes and is not backwards compatible with version 6. 8 -{{/error}} 9 - 10 10 (% class="wikigeneratedid" %) 11 11 All bundle settings are located in the file {{code language="none"}}config/packages/ufo_json_rpc.yaml{{/code}}. 12 12 ... ... @@ -58,9 +58,6 @@ 58 58 - RFC Standards: Header requirements are regulated by RFC documents that define standards for Internet protocols. For example, common headers and their use are described in RFC 7231. 59 59 {{/spoiler}} 60 60 61 - 62 - 63 - 64 64 == Parameter {{code language="none"}}clients_tokens{{/code}} == 65 65 66 66 Now you need to specify an array of client tokens that will have access to the API. ... ... @@ -169,7 +169,7 @@ 169 169 170 170 = Block {{code language="none"}}async{{/code}} = 171 171 172 -This block is for configuring [[asynchronous transport>>doc: docs.JsonRpcBundle.functionality.async.WebHome]].164 +This block is for configuring [[asynchronous transport>>doc:.functionality.async.WebHome]]. 173 173 174 174 Add the parameter {{code language="none"}}rpc_async{{/code}} which contains a string in DSN format. This string is the configuration for [[Symfony Messenger>>https://symfony.com/doc/current/messenger.html]], and it points to the asynchronous transport where the RPC Server will be waiting for incoming requests if you have a consumer running ({{code language="none"}}php bin/console messenger:consume rpc_async{{/code}}). For a more detailed understanding of this process, read the [[Symfony Messenger documentation>>https://symfony.com/doc/current/messenger.html]]. 175 175 ... ... @@ -300,7 +300,7 @@ 300 300 (% class="box infomessage" %) 301 301 ((( 302 302 In this example, I removed the content of the objects symfony_assertions to simplify the example. 303 -For more information on method validation, see the page **[[Validate procedures>>doc: docs.JsonRpcBundle.add_rpc_service.assertions.WebHome]]**295 +For more information on method validation, see the page **[[Validate procedures>>doc:.add_rpc_service.assertions.WebHome]]** 304 304 ))) 305 305 306 306 {{code language="json" layout="LINENUMBERS" title="GET: /api"}}