Update documentation with the `initSDKWithHeaders` method
Project: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-sdk-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-sdk-ios/commit/e8ae71d4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-sdk-ios/tree/e8ae71d4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-sdk-ios/diff/e8ae71d4 Branch: refs/heads/master Commit: e8ae71d4a5841ca7fbdd3824aa6a73582d77d1a9 Parents: 00a14b0 Author: Simeon Aladjem <[email protected]> Authored: Tue Nov 1 12:08:35 2016 +0200 Committer: Simeon Aladjem <[email protected]> Committed: Tue Nov 1 12:08:35 2016 +0200 ---------------------------------------------------------------------- README.md | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-sdk-ios/blob/e8ae71d4/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 2a7a9a0..9d31f5b 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,10 @@ typedef NS_ENUM(NSInteger, MPinStatus) { ##### `(void) initSDK;` This method constructs/initializes the SDK object. +##### `(void) initSDKWithHeaders: (NSDictionary*) dictHeaders;` +This method constructs/initializes the SDK object. +The `dictHeaders` parameter allows the caller to pass additional dictionary of custom headers, which will be added to any HTTP request that the SDK executes. + **Note that after this initialization the SDK will not be ready for usage until `SetBackend` is called with a valid _Server URL_.** ##### `(MpinStatus*) TestBackend: (const NSString*) url;`
