[Modify] Polish it
This commit is contained in:
parent
55ba6ef40a
commit
8af604b45d
@ -881,8 +881,11 @@ namespace WebSocketSharp.Net
|
||||
|
||||
private static string convert (string key)
|
||||
{
|
||||
HttpHeaderInfo info;
|
||||
return _headers.TryGetValue (key, out info) ? info.Name : String.Empty;
|
||||
HttpHeaderInfo headerInfo;
|
||||
|
||||
return _headers.TryGetValue (key, out headerInfo)
|
||||
? headerInfo.Name
|
||||
: String.Empty;
|
||||
}
|
||||
|
||||
private void doWithCheckingState (
|
||||
|
Loading…
Reference in New Issue
Block a user