//
//  CSPURLRetriever.h
//  CPROCSPWrapper
//
//  Created by Сергей Дмитриев on 18/06/2019.
//  Copyright © 2019 ru.safe-tech. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CSPRetrievingResult.h"

@interface CSPURLRetriever: NSObject

+ (CSPRetrievingResult * _Nonnull)retrieve:(NSString        * _Nonnull )url
                                   headers:(NSArray         * _Nonnull )headers
                                    isPost:(BOOL                       )isPost
                                      body:(NSData          * _Nullable)body
                                   timeout:(NSUInteger                 )timeout
                              shouldVerify:(BOOL                       )shouldVerify;

@end
