System.ServiceModel.Http2Protocol.Http2Protocol.SendGoAway C# (CSharp) 메소드

SendGoAway() 공개 메소드

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