StatusCodeOptions.ContentType property
Gets or sets the content type for the status code response. Default is “text/plain”.
public string? ContentType { get; set; }
See Also
- class StatusCodeOptions
- namespace Kestrun.Hosting.Options
Gets or sets the content type for the status code response. Default is “text/plain”.
public string? ContentType { get; set; }