IWebTransportSession.Abort(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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