System.ServiceModel.Http2Protocol.Http2Protocol.SendSynReply C# (CSharp) Метод

SendSynReply() публичный Метод

public SendSynReply ( Http2Stream stream ) : void
stream Http2Stream
Результат void
        public void SendSynReply(Http2Stream stream)
        {
            var headers = new ProtocolHeaders();

            headers[ProtocolHeaders.ContentType] = "text/plain";
            headers[ProtocolHeaders.Status] = "200";
            headers[ProtocolHeaders.Version] = "spdy/3";

            this.SendFrame(this.builder.BuildSynReplyFrame(stream, headers));
        }