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