|
|
|
|
@ -657,14 +657,18 @@ namespace WebSocketSharp.Net
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the specified request <paramref name="header"/> in the collection.
|
|
|
|
|
/// Gets or sets the specified request header in the collection.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>
|
|
|
|
|
/// A <see cref="string"/> that represents the value of the request <paramref name="header"/>.
|
|
|
|
|
/// A <see cref="string"/> that represents the value of the request header.
|
|
|
|
|
/// </value>
|
|
|
|
|
/// <param name="header">
|
|
|
|
|
/// One of the <see cref="HttpRequestHeader"/> enum values, represents
|
|
|
|
|
/// the request header to get or set.
|
|
|
|
|
/// <para>
|
|
|
|
|
/// One of the <see cref="HttpRequestHeader"/> enum values.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// It represents the request header to get or set.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// </param>
|
|
|
|
|
/// <exception cref="ArgumentException">
|
|
|
|
|
/// <para>
|
|
|
|
|
@ -674,15 +678,15 @@ namespace WebSocketSharp.Net
|
|
|
|
|
/// -or-
|
|
|
|
|
/// </para>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// <paramref name="value"/> contains invalid characters.
|
|
|
|
|
/// <paramref name="value"/> contains an invalid character.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// </exception>
|
|
|
|
|
/// <exception cref="ArgumentOutOfRangeException">
|
|
|
|
|
/// The length of <paramref name="value"/> is greater than 65,535 characters.
|
|
|
|
|
/// </exception>
|
|
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
|
/// The current <see cref="WebHeaderCollection"/> instance doesn't allow
|
|
|
|
|
/// the request <paramref name="header"/>.
|
|
|
|
|
/// The current <see cref="WebHeaderCollection"/> instance does not allow
|
|
|
|
|
/// the request header.
|
|
|
|
|
/// </exception>
|
|
|
|
|
public string this[HttpRequestHeader header] {
|
|
|
|
|
get {
|
|
|
|
|
|