MoEngageNetworkRequestConfig
@objc
public class MoEngageNetworkRequestConfig : NSObject
Configuration for Network Request
-
Configuration Related to Network Request Data Security.
Declaration
Swift
@objc public let dataSecurityConfig: MoEngageNetworkDataSecurityConfig
-
Configuration Related to Network Request Authorization.
Declaration
Swift
@objc public let authorizationConfig: MoEngageNetworkAuthorizationConfig
-
Configuration Related to SSL Pinning Validation.
Declaration
Swift
@objc public let sslVerificationConfig: MoEngageSSLVerificationConfig
-
Initialize the instance of type
MoEngageNetworkRequestConfig
Declaration
Swift
@objc public init( authorizationConfig: MoEngageNetworkAuthorizationConfig, dataSecurityConfig: MoEngageNetworkDataSecurityConfig, sslVerificationConfig: MoEngageSSLVerificationConfig = .defaultConfig() )
Parameters
authorizationConfig
Instance of type
MoEngageNetworkAuthorizationConfig
dataSecurityConfig
Instance of type
MoEngageNetworkDataSecurityConfig
-
Convinience initializer to create the instance of type
MoEngageNetworkRequestConfig
Declaration
Swift
@objc public convenience init(authorizationConfig: MoEngageNetworkAuthorizationConfig)
Parameters
authorizationConfig
Instance of type
MoEngageNetworkAuthorizationConfig
-
Convinience initializer to create the instance of type
MoEngageNetworkRequestConfig
Declaration
Swift
@objc public convenience init(dataSecurityConfig: MoEngageNetworkDataSecurityConfig)
Parameters
dataSecurityConfig
Instance of type
MoEngageNetworkDataSecurityConfig
-
Convinience initializer to create the instance of type
MoEngageNetworkRequestConfig
Declaration
Swift
@available(*, deprecated, message: "Use OS provided pinning: https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity/nspinneddomains") @objc public convenience init(sslVerificationConfig: MoEngageSSLVerificationConfig)
Parameters
sslVerificationConfig
Instance of type
MoEngageSSLVerificationConfig