TapCommon-Unity/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHttpRequest.h

23 lines
556 B
C
Raw Normal View History

2023-09-15 16:11:38 +08:00
//
// HttpRequest.h
//
// Created by JiangJiahao on 2018/3/9.
// Copyright © 2018年 JiangJiahao. All rights reserved.
// Httpq请求封装
#import <Foundation/Foundation.h>
@interface TDSHttpRequest : NSObject
//! GET参数拼接
+ (NSString *)connectUrl:(NSString *)url params:(NSDictionary *)params;
+ (NSString *)connectUrl:(NSString *)url params:(NSDictionary *)params encode:(BOOL)encode;
// POST请求参数拼接
+ (NSString *)postStringWithParams:(NSDictionary *)params;
// cookie
+ (NSString *)cookieStringForUrl:(NSString *)url;
@end