Contents

httpShouldUsePipelining

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

Declaration

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 object.

The default value is false.

HTTP/2 and later ignore this property. HTTP/1.1 only considers this property in the classic loading mode (usesClassicLoadingMode).

See Also

Setting HTTP policy and proxy properties