WebHeaderCollectionItem Property (HttpRequestHeader) |
Namespace: Sfs2X.WebSocketSharp.Net
public string this[ HttpRequestHeader header ] { get; set; }
Exception | Condition |
---|---|
ArgumentException | header is a restricted header. -or- value contains invalid characters. |
ArgumentOutOfRangeException | The length of value is greater than 65,535 characters. |
InvalidOperationException | The current WebHeaderCollection instance doesn't allow the request header. |