Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>.
Instance Methods | |
(nonnull instancetype) | - NS_UNAVAILABLE |
(nonnull instancetype) | - initWithUrl: |
(nonnull instancetype) | - initWithUrl:body:headers: |
Class Methods | |
(nonnull instancetype) | + NS_UNAVAILABLE |
(nonnull instancetype) | + requestWithUrl: |
(nonnull instancetype) | + requestWithUrl:body:headers: |
Properties | |
NSURL * | url |
NSString * | body |
NSDictionary< NSString *, NSString * > * | headers |
Interface describing an HTTP request to fetch a route from an external routing server.
- (nonnull instancetype) initWithUrl: | (nonnull NSURL *) | url |
Initializes request with the specified URL.
url | @nonnull The URL of the request. |
- (nonnull instancetype) initWithUrl: | (nonnull NSURL *) | url | |
body: | (nullable NSString *) | body | |
headers: | (nullable NSDictionary< NSString *, NSString * > *) | headers | |
Initializes request with the specified URL, body and headers.
url | @nonnull The URL of the request. |
body | @nullable The body of the request. |
headers | @nullable The headers of the request. |
+ (nonnull instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
- (nonnull instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
+ (nonnull instancetype) requestWithUrl: | (nonnull NSURL *) | url |
Creates request with the specified URL.
url | @nonnull The URL of the request. |
+ (nonnull instancetype) requestWithUrl: | (nonnull NSURL *) | url | |
body: | (nullable NSString *) | body | |
headers: | (nullable NSDictionary< NSString *, NSString * > *) | headers | |
Creates request with specified URL, body and headers.
url | @nonnull The URL of the request. |
body | @nullable The body of the request. |
headers | @nullable The headers of the request. |
|
readnonatomicstrong |
The body of the HTTP request.
|
readnonatomicstrong |
The headers of the HTTP request.
|
readnonatomicstrong |
The URL of the HTTP request.