StatusCodeOptions.BodyFormat property
Gets or sets the body format string for the status code response. Default is “Status Code: {0}”. The format string should contain a single placeholder for the status code.
public string? BodyFormat { get; set; }
See Also
- class StatusCodeOptions
- namespace Kestrun.Hosting.Options