Skip to content

Commit e076ec2

Browse files
committed
Improve doc comment
1 parent 46cf0e1 commit e076ec2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Servers/Kestrel/Core/src/KestrelServerOptions.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ public class KestrelServerOptions
8383
public bool EnableAltSvc { get; set; } = false;
8484

8585
/// <summary>
86-
/// Gets or sets a callback that returns the <see cref="Encoding"/> to decode the value for the specified request header name.
86+
/// Gets or sets a callback that returns the <see cref="Encoding"/> to decode the value for the specified request header name,
87+
/// or <see langword="null"/> to use the default <see cref="UTF8Encoding"/>.
8788
/// </summary>
8889
/// <remarks>
89-
/// Defaults to returning a <see cref="UTF8Encoding"/> for all headers.
90+
/// Defaults to returning a <see langword="null"/> for all headers.
9091
/// </remarks>
9192
public Func<string, Encoding?> RequestHeaderEncodingSelector { get; set; } = DefaultRequestHeaderEncodingSelector;
9293

@@ -103,7 +104,7 @@ public class KestrelServerOptions
103104

104105
/// <summary>
105106
/// Provides a configuration source where endpoints will be loaded from on server start.
106-
/// The default is null.
107+
/// The default is <see langword="null"/>.
107108
/// </summary>
108109
public KestrelConfigurationLoader? ConfigurationLoader { get; set; }
109110

0 commit comments

Comments
 (0)