diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 2f031124..b46423d9 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -880,7 +880,7 @@ namespace WebSocketSharp.Net Action action, string name, string value, bool setState ) { - var headerType = checkHeaderType (name); + var headerType = getHeaderType (name); if (headerType == HttpHeaderType.Response) { doWithCheckingState (action, name, value, true, setState);