new: usr: add mineseeker game to the symfony 4 project #3
This commit is contained in:
17
config/pubsub/routing.yaml
Normal file
17
config/pubsub/routing.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
## Topic Configuration
|
||||
mineseeker_topic:
|
||||
channel: mineseeker/channel/{game}
|
||||
handler:
|
||||
callback: 'mineseeker.topic' #related to the getName() of your topic
|
||||
# requirements:
|
||||
# method:
|
||||
# path: '[a-z1-9A-Z]+'
|
||||
|
||||
# Remote Procedure Call Configuration
|
||||
mineseeker_rpc:
|
||||
channel: mineseeker-rpc/{method}
|
||||
handler:
|
||||
callback: 'mineseeker.rpc' #related to the getName() or your RPC service
|
||||
requirements:
|
||||
method:
|
||||
path: "[a-z_]+"
|
||||
Reference in New Issue
Block a user