Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Webhook] : update doc #19974

Open
wants to merge 1 commit into
base: 6.4
Choose a base branch
from
Open

[Webhook] : update doc #19974

wants to merge 1 commit into from

Conversation

alli83
Copy link
Contributor

@alli83 alli83 commented Jun 18, 2024

Update the webhook documentation

@alli83 alli83 marked this pull request as draft June 18, 2024 22:42
@carsonbot carsonbot added this to the 6.4 milestone Jun 18, 2024
@carsonbot carsonbot changed the title [WEBHOOK]: update doc [Webhook] : update doc Jun 18, 2024
------------------------------------------------------------------

It is important to note that when the incoming webhook is processed by the :class:`WebhookController`, you have the option to handle the consumption of remote events asynchronously.
Indeed, this can be configured using a bus, with the default setting pointing to the Messenger component's default bus.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo: show config

webhook.rst Outdated

3) Manipulating the received data.

Symfony Webhook, when used alongside Symfony Remote Event, streamlines the management of these fundamental phases.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo: update RemoteEvent

webhook.rst Outdated Show resolved Hide resolved
$event = new Event(‘name.event, ‘1’, […]);

$this->bus->dispatch(new SendWebhookMessage($subscriber, $event));

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add for a customised approach using the Symfony\Component\Webhook\Server\TransportInterface

@alli83 alli83 force-pushed the webhook-update-doc branch 12 times, most recently from 0659b82 to bb79ac4 Compare June 19, 2024 13:12
@alli83 alli83 marked this pull request as ready for review July 1, 2024 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants