Skip to content

Commit

Permalink
[ksyhttpcache][sdk]1.支持httpHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
sunyazhou committed Jun 12, 2017
1 parent 85e9c03 commit f100803
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,13 @@
*/
-(NSArray*)getCacheFragmentForUrl:(NSURL *)url error:(NSError **)error;


/**
发送http请求时需要header带上的字段
必须 key:value 都是NSString类型
@param headers 请求头带的字段
*/
-(void)setHttpHeaders:(NSDictionary<NSString *,NSString *> *)headers;


@end
Binary file modified framework/KSYHTTPCache.framework/Info.plist
Binary file not shown.
Binary file modified framework/KSYHTTPCache.framework/KSYHTTPCache
Binary file not shown.
2 changes: 1 addition & 1 deletion ksyhttpcache.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = 'ksyhttpcache'
s.version = '1.0.10'
s.version = '1.0.11'
s.license = {
:type => 'Proprietary',
:text => <<-LICENSE
Expand Down

0 comments on commit f100803

Please sign in to comment.