Share via


QuicTransportOptions Class

Definition

Note

To use this preview API, you must enable preview features in your project by setting the EnablePreviewFeatures property to True in your project file. For more information, see https://aka.ms/dotnet-preview-features.

Options for Quic based connections.

public class QuicTransportOptions
public sealed class QuicTransportOptions
type QuicTransportOptions = class
Public Class QuicTransportOptions
Public NotInheritable Class QuicTransportOptions
Inheritance
QuicTransportOptions

Constructors

QuicTransportOptions()

Properties

Backlog

The maximum length of the pending connection queue.

DefaultCloseErrorCode

Error code used when an open connection is disposed.

DefaultStreamErrorCode

Error code used when the stream needs to abort the read or write side of the stream internally.

IdleTimeout

Sets the idle timeout for connections and streams.

MaxBidirectionalStreamCount

The maximum number of concurrent bi-directional streams per connection.

MaxReadBufferSize

The maximum read size.

MaxUnidirectionalStreamCount

The maximum number of concurrent inbound uni-directional streams per connection.

MaxWriteBufferSize

The maximum write size.

Applies to