System.ServiceModel.Http2Protocol.Http2Protocol.ApplyProtocolSelectionResults C# (CSharp) Method

ApplyProtocolSelectionResults() private method

private ApplyProtocolSelectionResults ( string selectedProtocol ) : void
selectedProtocol string
return void
        internal void ApplyProtocolSelectionResults(string selectedProtocol)
        {
            switch (selectedProtocol)
            {
                case "spdy/3":
                    Version = 3;
                    break;
                case "spdy/2":
                    Version = 2;
                    break;
                case "http/1.1":
                    //Handling http11 select
                    break;
                default:
                    this.CloseInternal(StatusCode.UnsupportedVersion, 0, true);
                    break;
            }
        }