DefaultCallbackUrlResolver.Resolve method
Resolves the given URL template into a full URI using the provided callback runtime context.
public Uri Resolve(string urlTemplate, CallbackRuntimeContext ctx)
| parameter | description |
|---|---|
| urlTemplate | The URL template containing tokens and JSON Pointer expressions. |
| ctx | The callback runtime context providing values for tokens and JSON data. |
Return Value
A fully resolved URI based on the template and context.
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Thrown when the urlTemplate is null, empty, or whitespace. |
| InvalidOperationException | Thrown when the URL template cannot be resolved to a valid URI. |
See Also
- record CallbackRuntimeContext
- class DefaultCallbackUrlResolver
- namespace Kestrun.Callback