Last modified by Ashterix on 2024/07/11 10:08

From version 4.1
edited by Ashterix
on 2024/07/11 10:08
Change comment: There is no comment for this version
To version 3.1
edited by Ashterix
on 2024/05/16 11:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Version 6. Bundle config
1 +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,8 +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 63  == Parameter {{code language="none"}}clients_tokens{{/code}} ==
64 64  
65 65  Now you need to specify an array of client tokens that will have access to the API.
... ... @@ -168,7 +168,7 @@
168 168  
169 169  = Block {{code language="none"}}async{{/code}} =
170 170  
171 -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]].
172 172  
173 173  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]].
174 174  
... ... @@ -299,7 +299,7 @@
299 299  (% class="box infomessage" %)
300 300  (((
301 301  In this example, I removed the content of the objects symfony_assertions to simplify the example.
302 -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]]**
303 303  )))
304 304  
305 305  {{code language="json" layout="LINENUMBERS" title="GET: /api"}}