Currently, SDK offers an single entrypoint for handling webhooks: Line::Bot::V2::WebhookParser#parse(body:, signature:).
It would be nice if there are two separate APIs for "verifing signature" and "constructing event object".
We are currently handling incoming webhooks by:
- in a Controller: Verify signature synchronously (to avoid creating many jobs by DoS from attackers)
- in a Worker: Parse webhook body and handle event object asynchronously
To implement this, currently we have to call private API and copy SDK codes.
Please consider to expose those APIs, Thanks.
Currently, SDK offers an single entrypoint for handling webhooks:
Line::Bot::V2::WebhookParser#parse(body:, signature:).It would be nice if there are two separate APIs for "verifing signature" and "constructing event object".
We are currently handling incoming webhooks by:
To implement this, currently we have to call private API and copy SDK codes.
Please consider to expose those APIs, Thanks.