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

SendGoAway() public method

Sends the GoAway stream.
public SendGoAway ( int lastSeenStreamId, StatusCode reason ) : void
lastSeenStreamId int The last seen stream id.
reason StatusCode The reason of GoAway.
return void
        public void SendGoAway(int lastSeenStreamId, StatusCode reason)
        {
            this.SendFrame(this.streamsStore.GetStreamById(lastSeenStreamId), this.builder.BuildGoAwayFrame(lastSeenStreamId, reason));
        }