CallbackRequestFactory.FromPlan method
Creates a list of CallbackRequest instances from the given callback plans and runtime context.
public static CallbackRequest FromPlan(CallBackExecutionPlan executionPlan, KestrunContext ctx,
ICallbackUrlResolver urlResolver, ICallbackBodySerializer bodySerializer,
CallbackDispatchOptions options)
| parameter | description |
|---|---|
| executionPlan | The callback plan to create a request from. |
| ctx | The callback runtime context providing values for tokens and JSON data. |
| urlResolver | The URL resolver to resolve callback URLs. |
| bodySerializer | The body serializer to serialize callback request bodies. |
| options | The callback dispatch options. |
Return Value
A list of created CallbackRequest instances.
See Also
- class CallbackRequest
- record CallBackExecutionPlan
- record KestrunContext
- interface ICallbackUrlResolver
- interface ICallbackBodySerializer
- record CallbackDispatchOptions
- class CallbackRequestFactory
- namespace Kestrun.Callback