Add pond5/async-request-bundle recipe

This commit is contained in:
Jerzy Lekowski
2021-07-15 15:50:07 +01:00
parent e1b904c158
commit dc8efb6896
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,10 @@
pond5_async_request:
#header: X-Request-Async # user defined header name to indicate asynchronous request - X-Request-Async used by default
#methods: [DELETE, PATCH, POST, PUT] # HTTP methods that should support async requests
transport: async-request # messenger transport name, ignored if messenger routing for Pond5\AsyncRequestBundle\Message\AsyncRequestNotification is configured manually
# can be omitted when using transport configured in another file (e.g. messenger.yaml)
framework:
messenger:
transports:
async-request: '%env(MESSENGER_TRANSPORT_DSN)%'
@@ -0,0 +1,8 @@
{
"bundles": {
"Pond5\\AsyncRequestBundle\\Pond5AsyncRequestBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}