StatusCodeOptions.PathFormat property
Gets or sets the path format string for the status code response. If set, the middleware will re-execute the request pipeline for the specified path. The format string should contain a single placeholder for the status code. If both LocationFormat and PathFormat are set, LocationFormat takes precedence. If neither is set, no re-execution will be performed.
public string? PathFormat { get; set; }
See Also
- class StatusCodeOptions
- namespace Kestrun.Hosting.Options