Skip to content

Commit a1c85f0

Browse files
committed
Added documentation for serialize/unserialize function
1 parent 972bf58 commit a1c85f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,14 @@ Let's add a RPC client and server into the configuration:
380380
rpc_clients:
381381
integer_store:
382382
connection: default
383+
unserializer: json_decode
383384
rpc_servers:
384385
random_int:
385386
connection: default
386387
callback: random_int_server
387388
qos_options: {prefetch_size: 0, prefetch_count: 1, global: false}
388389
queue_options: {name: random_int_queue, durable: false, auto_delete: true}
390+
serializer: json_encode
389391
```
390392
391393
*For a full configuration reference please use the `php app/console config:dump-reference old_sound_rabbit_mq` command.*

0 commit comments

Comments
 (0)