mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add pond5/async-request-bundle recipe
This commit is contained in:
@@ -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%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user