IWebTransportSession.Abort(Int32) Method

Definition

Abruptly close the WebTransport session and stop all the streams.

public void Abort (int errorCode);
abstract member Abort : int -> unit
Public Sub Abort (errorCode As Integer)

Parameters

errorCode
Int32

HTTP error code that corresponds to the reason for causing the abort.

Remarks

Error codes are described here: https://www.rfc-editor.org/rfc/rfc9114.html#name-http-3-error-codes

Applies to