KTVHCHTTPRequest.h 578 B

1234567891011121314151617181920212223
  1. //
  2. // KTVHCHTTPRequest.h
  3. // KTVHTTPCache
  4. //
  5. // Created by Single on 2017/8/10.
  6. // Copyright © 2017年 Single. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface KTVHCHTTPRequest : NSObject
  10. + (instancetype)new NS_UNAVAILABLE;
  11. - (instancetype)init NS_UNAVAILABLE;
  12. - (instancetype)initWithURL:(NSURL *)URL headers:(NSDictionary *)headers;
  13. @property (nonatomic, copy, readonly) NSURL * URL;
  14. @property (nonatomic, copy, readonly) NSDictionary * headers;
  15. @property (nonatomic, copy) NSString * method;
  16. @property (nonatomic, copy) NSString * version;
  17. @end