AWSNetworkingHelpers Class Reference

Inherits from NSObject
Declared in AWSNetworkingHelpers.h
AWSNetworkingHelpers.m

+ queryItemsFromDictionary:

Returns an array of NSURLQueryItems constructed from the request parameters. The query items in the array are not URL encoded.

+ (NSArray<NSURLQueryItem*> *_Nonnull)queryItemsFromDictionary:(NSDictionary<NSString*,id> *_Nonnull)requestParameters

Parameters

requestParameters

an NSDictionary)>

Return Value

an array of NSURLQueryItems

Discussion

Supported value types of the dictionary are String or Array. Any other type of value will throw an NSInternalInconsistencyException. If the value is an array, each value will be added to the resulting array using the key, for example: {"key1", ["value1", "value2"]} would result in an array [("key1", "value1"), ("key1", "value2")].

Declared In

AWSNetworkingHelpers.h