<!--
{
  "availability" : [
    "iOS: 7.0.0 - 18.4.0",
    "iPadOS: 7.0.0 - 18.4.0",
    "macCatalyst: 13.1.0 - 18.4.0",
    "macOS: 10.9.0 - 15.4.0",
    "tvOS: 9.0.0 - 18.4.0",
    "visionOS: 1.0.0 - 2.4.0",
    "watchOS: 2.0.0 - 11.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/URLSessionConfiguration/httpShouldUsePipelining",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSURLSessionConfiguration(py)HTTPShouldUsePipelining"
  },
  "title" : "httpShouldUsePipelining"
}
-->

# httpShouldUsePipelining

A Boolean value that determines whether the session should use HTTP pipelining.

```
var httpShouldUsePipelining: Bool { get set }
```

## Discussion

This property determines whether tasks within sessions based on this configuration should use HTTP pipelining. You can also enable pipelining on a per-task basis by creating the task with an [`NSURLRequest`](/documentation/Foundation/NSURLRequest) object.

The default value is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)