     private var locationProvider: LocationProvider
     private var networkLayer: NetworkLayer
     private var idProvider: IDProvider
+
+    private var pathMonitorRef: AnyObject?
 
     private let operationQueue: OperationQueue = {
         let queue = OperationQueue()


import os.log
import UIKit

public class RequestManager {
    private struct SendMessagePostBody: Codable {

        self.locationProvider = locationProvider
        self.networkLayer = networkLayer
        
        if #available(iOS 12.0, *) {
            setupPathMonitor()
        }
        addUpdateOperation(with: interval)
    }

