Inherits from NSObject
Declared in UNIHTTPRequest.h

Properties

error

@property (readwrite, strong) NSError *error

headers

@property (readwrite, strong) NSDictionary *headers

httpMethod

@property (readwrite) UNIHTTPMethod httpMethod

password

@property (readwrite, strong) NSString *password

url

@property (readwrite, strong) NSString *url

username

@property (readwrite, strong) NSString *username

Instance Methods

asBinary

- (UNIHTTPBinaryResponse *)asBinary

asBinary:

- (UNIHTTPBinaryResponse *)asBinary:(NSError **)error

asBinaryAsync:

- (UNIUrlConnection *)asBinaryAsync:(UNIHTTPBinaryResponseBlock)response

asJson

- (UNIHTTPJsonResponse *)asJson

asJson:

- (UNIHTTPJsonResponse *)asJson:(NSError **)error

asJsonAsync:

- (UNIUrlConnection *)asJsonAsync:(UNIHTTPJsonResponseBlock)response

asString

- (UNIHTTPStringResponse *)asString

asString:

- (UNIHTTPStringResponse *)asString:(NSError **)error

asStringAsync:

- (UNIUrlConnection *)asStringAsync:(UNIHTTPStringResponseBlock)response

initWithSimpleRequest:url:headers:username:password:

- (instancetype)initWithSimpleRequest:(UNIHTTPMethod)httpMethod url:(NSString *)url headers:(NSDictionary *)headers username:(NSString *)username password:(NSString *)password