[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)
|
private static string convert (string key)
|
||||||
{
|
{
|
||||||
HttpHeaderInfo info;
|
HttpHeaderInfo headerInfo;
|
||||||
return _headers.TryGetValue (key, out info) ? info.Name : String.Empty;
|
|
||||||
|
return _headers.TryGetValue (key, out headerInfo)
|
||||||
|
? headerInfo.Name
|
||||||
|
: String.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void doWithCheckingState (
|
private void doWithCheckingState (
|
||||||
|
Loading…
Reference in New Issue
Block a user