| | |
| | | |
| | | @param block A block that defines a process of encoding parameters into a query string. This block returns the query string and takes three arguments: the request, the parameters to encode, and the error that occurred when attempting to encode parameters for the given request. |
| | | */ |
| | | - (void)setQueryStringSerializationWithBlock:(nullable NSString * (^)(NSURLRequest *request, id parameters, NSError * __autoreleasing *error))block; |
| | | - (void)setQueryStringSerializationWithBlock:(nullable NSString * _Nullable (^)(NSURLRequest *request, id parameters, NSError * __autoreleasing *error))block; |
| | | |
| | | ///------------------------------- |
| | | /// @name Creating Request Objects |
| | |
| | | |
| | | @return An `NSMutableURLRequest` object. |
| | | */ |
| | | - (NSMutableURLRequest *)requestWithMethod:(NSString *)method |
| | | - (nullable NSMutableURLRequest *)requestWithMethod:(NSString *)method |
| | | URLString:(NSString *)URLString |
| | | parameters:(nullable id)parameters |
| | | error:(NSError * _Nullable __autoreleasing *)error; |