     public
     static
     var onDidPrepareRequest: (NSMutableURLRequest) -> NSMutableURLRequest = { return $0 }
+    
+    public
+    static
+    var onDidReceiveDataResponse: (NSURLRequest, DataTaskResult) -> Void = { (_, _) in }
     
     public
     class

    static
    func dataTask(request: NSURLRequest) -> DataTaskResult
    {
        return session.dataTaskSync(request)
    }
    
    //=== Public members

    static
    var onDidPrepareRequest: (NSMutableURLRequest) -> NSMutableURLRequest { get }
    
    static
    var onDidReceiveDataResponse: (NSURLRequest, DataTaskResult) -> Void { get }
    
    // call this method before start using the class
    // handle initial configuration here
    static
