WebHeaderCollectionItem Property (HttpResponseHeader) |
Namespace: Sfs2X.WebSocketSharp.Net
public string this[ HttpResponseHeader 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 response header. |