In macOS 10.13 / iOS 11, URLSessionConfiguration has a new property waitsForConnectivity. This should work just fine with PMHTTP. It also has a new delegate method urlSession(_:taskIsWaitingForConnectivity:). It might be nice to add a block to HTTPManagerRequest that is fired when that delegate method is invoked.