KestrunOptions.DefaultResponseMediaType property
Gets or sets the default media type to use for responses when no Accept header is provided.
public string? DefaultResponseMediaType { get; set; }
See Also
- class KestrunOptions
- namespace Kestrun.Hosting.Options