<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/nw_parameters_create_quic(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "c:@F@nw_parameters_create_quic"
  },
  "title" : "nw_parameters_create_quic(_:)"
}
-->

# nw_parameters_create_quic(_:)

Initializes parameters for QUIC connections and listeners.

```
func nw_parameters_create_quic(_ configure_quic: @escaping nw_parameters_configure_protocol_block_t) -> nw_parameters_t
```

## Parameters

`configure_quic`

A Swift closure, or an Objective-C block, that receives an [`nw_protocol_options_t`](/documentation/Network/nw_protocol_options_t) instance. Provide a custom block and call the various `nw_quic_set…` functions on this instance to customize connection and listener parameters. If you want to use default parameters, pass `NW_PARAMETERS_DEFAULT_CONFIGURATION` for this value. This method doesn’t support passing `NW_PARAMETERS_DISABLE_PROTOCOL` to disable the protocol.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)