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

SendFrame() private method

Sends the frame.
private SendFrame ( ControlFrame frame ) : void
frame System.ServiceModel.Http2Protocol.ProtocolFrames.ControlFrame The control frame.
return void
        private void SendFrame(ControlFrame frame)
        {
            byte[] frameBinary = this.serializer.Serialize(frame);
            frame.Length = frameBinary.Length;

            SendMessage(frameBinary);

            if (this.OnFrameSent != null)
            {
                this.OnFrameSent(this, new FrameEventArgs(frame));
            }
        }

Same methods

Http2Protocol::SendFrame ( Http2Stream stream, System.ServiceModel.Http2Protocol.ProtocolFrames.BaseFrame frame ) : void