The system definition of the QUIC protocol.
Conforms to MultiplexProtocol,
exposing configuration for a multiplexing instance of QUIC, which
in turn exposes the ability to handle multiple streams of data over QUIC.
Members (11)
method · iOS 26.0+
idleTimeout
TypeScript
idleTimeout(timeout: number): QUIC
Swift declaration
func idleTimeout(_ timeout: Int) -> QUIC
Set the idle timeout for the QUIC connection, in milliseconds.
If no packets are sent or received within this timeout,
the QUIC connection will be closed.
- Parameter timeout: The idle timeout, in milliseconds.
Set the initial_max_data transport parameter on a QUIC connection.
- Parameter initialMaxData: The value to use for the `initial_max_data`
transport parameter on a QUIC connection.
method · iOS 26.0+
maxUDPPayloadSize
TypeScript
maxUDPPayloadSize(size: number): QUIC
Swift declaration
func maxUDPPayloadSize(_ size: Int) -> QUIC
Set the maximum length of a QUIC packet
that you are willing to receive on a connection, in bytes.
- Parameter size: The maximum length, in bytes.
method · iOS 26.0+
maxDatagramFrameSize
TypeScript
maxDatagramFrameSize(size: number): QUIC
Swift declaration
func maxDatagramFrameSize(_ size: Int) -> QUIC
Set the max_datagram_frame_size transport parameter on a QUIC connection.
- Parameter size: The value to use for the `max_datagram_frame_size`
transport parameter on a QUIC connection.
Set the initial_max_streams_bidi transport
parameter on a QUIC connection.
- Parameter initialMaxStreamsBidi: The value to use for the
`initial_max_streams_bidi` transport parameter on a QUIC
connection.
Set the initial_max_stream_data_uni transport parameter on a QUIC connection.
- Parameter initialMaxStreamDataUni: The value to use for the
`initial_max_stream_data_uni` transport parameter on a QUIC
connection.
Set the initial_max_stream_data_uni transport
parameter on a QUIC connection.
- Parameter initialMaxStreamDataUni: The value to use for the
`initial_max_stream_data_uni` transport parameter on a QUIC
connection.
Set the initial_max_stream_data_bidi_local transport
parameter on a QUIC connection.
- Parameter initialMaxStreamDataBidiLocal: The value to use for the
`initial_max_stream_data_bidi_local` transport parameter on a QUIC
connection.
Set the initial_max_stream_data_bidi_remote transport
parameter on a QUIC connection.
- Parameter initialMaxStreamDataBidiRemote: The value to use for the
`initial_max_stream_data_bidi_remote` transport parameter on a QUIC
connection.
get · iOS 26.0+
tls
TypeScript
get tls(): QUIC_TLS
Swift declaration
var tls: QUIC.TLS { get }
Configure TLS when used within QUIC.
init · iOS 26.0+
init
TypeScript
static init(alpn: Array<string>): QUIC
Swift declaration
init(alpn: [String])
Create a QUIC protocol for use in a protocol stack.
The application layer protocol negotiation (ALPN) tokens
describe the application protocol in use above QUIC.
- Parameter alpn: An array of application layer protocol
tokens to use for negotiation during the QUIC handshake.
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.