[Modify] Polish it

master
sta 6 years ago
parent 52811924d1
commit 6d85802bda

@ -257,7 +257,10 @@ namespace WebSocketSharp.Net
/// </exception> /// </exception>
public WebHeaderCollection Headers { public WebHeaderCollection Headers {
get { get {
return _headers ?? (_headers = new WebHeaderCollection (HttpHeaderType.Response, false)); if (_headers == null)
_headers = new WebHeaderCollection (HttpHeaderType.Response, false);
return _headers;
} }
set { set {

Loading…
Cancel
Save