backgroundSessionConfiguration
TypeScriptstatic backgroundSessionConfiguration(identifier: string): URLSessionConfigurationSwift declarationclass func backgroundSessionConfiguration(_ identifier: String) -> URLSessionConfigurationclass · iOS 7.0+ · SDK 27.1
class URLSessionConfigurationstatic backgroundSessionConfiguration(identifier: string): URLSessionConfigurationSwift declarationclass func backgroundSessionConfiguration(_ identifier: String) -> URLSessionConfigurationstatic background(identifier: string): URLSessionConfigurationSwift declarationclass func background(withIdentifier identifier: String) -> URLSessionConfigurationstatic new(): URLSessionConfigurationSwift declarationclass func new() -> Selfstatic get default(): URLSessionConfigurationSwift declarationclass var `default`: URLSessionConfiguration { get }static get ephemeral(): URLSessionConfigurationSwift declarationclass var ephemeral: URLSessionConfiguration { get }static init(): URLSessionConfigurationSwift declarationinit()get httpAdditionalHeaders(): (NativeMap<unknown, unknown>) | nullSwift declarationvar httpAdditionalHeaders: [AnyHashable : Any]? { get set }set httpAdditionalHeaders(value: (NativeMap<unknown, unknown>) | null)Swift declarationvar httpAdditionalHeaders: [AnyHashable : Any]? { get set }get httpCookieAcceptPolicy(): HTTPCookie_AcceptPolicySwift declarationvar httpCookieAcceptPolicy: HTTPCookie.AcceptPolicy { get set }set httpCookieAcceptPolicy(value: HTTPCookie_AcceptPolicy)Swift declarationvar httpCookieAcceptPolicy: HTTPCookie.AcceptPolicy { get set }get httpCookieStorage(): (HTTPCookieStorage) | nullSwift declarationvar httpCookieStorage: HTTPCookieStorage? { get set }set httpCookieStorage(value: (HTTPCookieStorage) | null)Swift declarationvar httpCookieStorage: HTTPCookieStorage? { get set }get httpMaximumConnectionsPerHost(): numberSwift declarationvar httpMaximumConnectionsPerHost: Int { get set }set httpMaximumConnectionsPerHost(value: number)Swift declarationvar httpMaximumConnectionsPerHost: Int { get set }get httpShouldSetCookies(): booleanSwift declarationvar httpShouldSetCookies: Bool { get set }set httpShouldSetCookies(value: boolean)Swift declarationvar httpShouldSetCookies: Bool { get set }get httpShouldUsePipelining(): booleanSwift declarationvar httpShouldUsePipelining: Bool { get set }set httpShouldUsePipelining(value: boolean)Swift declarationvar httpShouldUsePipelining: Bool { get set }get tlsMaximumSupportedProtocol(): _Security_SSLProtocolSwift declarationvar tlsMaximumSupportedProtocol: SSLProtocol { get set }set tlsMaximumSupportedProtocol(value: _Security_SSLProtocol)Swift declarationvar tlsMaximumSupportedProtocol: SSLProtocol { get set }get tlsMaximumSupportedProtocolVersion(): _Security_tls_protocol_version_tSwift declarationvar tlsMaximumSupportedProtocolVersion: tls_protocol_version_t { get set }set tlsMaximumSupportedProtocolVersion(value: _Security_tls_protocol_version_t)Swift declarationvar tlsMaximumSupportedProtocolVersion: tls_protocol_version_t { get set }get tlsMinimumSupportedProtocol(): _Security_SSLProtocolSwift declarationvar tlsMinimumSupportedProtocol: SSLProtocol { get set }set tlsMinimumSupportedProtocol(value: _Security_SSLProtocol)Swift declarationvar tlsMinimumSupportedProtocol: SSLProtocol { get set }get tlsMinimumSupportedProtocolVersion(): _Security_tls_protocol_version_tSwift declarationvar tlsMinimumSupportedProtocolVersion: tls_protocol_version_t { get set }set tlsMinimumSupportedProtocolVersion(value: _Security_tls_protocol_version_t)Swift declarationvar tlsMinimumSupportedProtocolVersion: tls_protocol_version_t { get set }get urlCache(): (URLCache) | nullSwift declarationvar urlCache: URLCache? { get set }set urlCache(value: (URLCache) | null)Swift declarationvar urlCache: URLCache? { get set }get urlCredentialStorage(): (URLCredentialStorage) | nullSwift declarationvar urlCredentialStorage: URLCredentialStorage? { get set }set urlCredentialStorage(value: (URLCredentialStorage) | null)Swift declarationvar urlCredentialStorage: URLCredentialStorage? { get set }get allowsCellularAccess(): booleanSwift declarationvar allowsCellularAccess: Bool { get set }set allowsCellularAccess(value: boolean)Swift declarationvar allowsCellularAccess: Bool { get set }get allowsConstrainedNetworkAccess(): booleanSwift declarationvar allowsConstrainedNetworkAccess: Bool { get set }set allowsConstrainedNetworkAccess(value: boolean)Swift declarationvar allowsConstrainedNetworkAccess: Bool { get set }get allowsExpensiveNetworkAccess(): booleanSwift declarationvar allowsExpensiveNetworkAccess: Bool { get set }set allowsExpensiveNetworkAccess(value: boolean)Swift declarationvar allowsExpensiveNetworkAccess: Bool { get set }get allowsUltraConstrainedNetworkAccess(): booleanSwift declarationvar allowsUltraConstrainedNetworkAccess: Bool { get set }set allowsUltraConstrainedNetworkAccess(value: boolean)Swift declarationvar allowsUltraConstrainedNetworkAccess: Bool { get set }get connectionProxyDictionary(): (NativeMap<unknown, unknown>) | nullSwift declarationvar connectionProxyDictionary: [AnyHashable : Any]? { get set }set connectionProxyDictionary(value: (NativeMap<unknown, unknown>) | null)Swift declarationvar connectionProxyDictionary: [AnyHashable : Any]? { get set }get isDiscretionary(): booleanSwift declarationvar isDiscretionary: Bool { get set }set isDiscretionary(value: boolean)Swift declarationvar isDiscretionary: Bool { get set }get enablesEarlyData(): booleanSwift declarationvar enablesEarlyData: Bool { get set }set enablesEarlyData(value: boolean)Swift declarationvar enablesEarlyData: Bool { get set }get identifier(): (string) | nullSwift declarationvar identifier: String? { get }get multipathServiceType(): URLSessionConfiguration_MultipathServiceTypeSwift declarationvar multipathServiceType: URLSessionConfiguration.MultipathServiceType { get set }set multipathServiceType(value: URLSessionConfiguration_MultipathServiceType)Swift declarationvar multipathServiceType: URLSessionConfiguration.MultipathServiceType { get set }get networkServiceType(): NSURLRequest_NetworkServiceTypeSwift declarationvar networkServiceType: NSURLRequest.NetworkServiceType { get set }set networkServiceType(value: NSURLRequest_NetworkServiceType)Swift declarationvar networkServiceType: NSURLRequest.NetworkServiceType { get set }get protocolClasses(): (Array<string>) | nullSwift declarationvar protocolClasses: [AnyClass]? { get set }set protocolClasses(value: (Array<string>) | null)Swift declarationvar protocolClasses: [AnyClass]? { get set }get requestCachePolicy(): NSURLRequest_CachePolicySwift declarationvar requestCachePolicy: NSURLRequest.CachePolicy { get set }set requestCachePolicy(value: NSURLRequest_CachePolicy)Swift declarationvar requestCachePolicy: NSURLRequest.CachePolicy { get set }get requiresDNSSECValidation(): booleanSwift declarationvar requiresDNSSECValidation: Bool { get set }set requiresDNSSECValidation(value: boolean)Swift declarationvar requiresDNSSECValidation: Bool { get set }get sessionSendsLaunchEvents(): booleanSwift declarationvar sessionSendsLaunchEvents: Bool { get set }set sessionSendsLaunchEvents(value: boolean)Swift declarationvar sessionSendsLaunchEvents: Bool { get set }get sharedContainerIdentifier(): (string) | nullSwift declarationvar sharedContainerIdentifier: String? { get set }set sharedContainerIdentifier(value: (string) | null)Swift declarationvar sharedContainerIdentifier: String? { get set }get shouldUseExtendedBackgroundIdleMode(): booleanSwift declarationvar shouldUseExtendedBackgroundIdleMode: Bool { get set }set shouldUseExtendedBackgroundIdleMode(value: boolean)Swift declarationvar shouldUseExtendedBackgroundIdleMode: Bool { get set }get timeoutIntervalForRequest(): numberSwift declarationvar timeoutIntervalForRequest: TimeInterval { get set }set timeoutIntervalForRequest(value: number)Swift declarationvar timeoutIntervalForRequest: TimeInterval { get set }get timeoutIntervalForResource(): numberSwift declarationvar timeoutIntervalForResource: TimeInterval { get set }set timeoutIntervalForResource(value: number)Swift declarationvar timeoutIntervalForResource: TimeInterval { get set }get usesClassicLoadingMode(): booleanSwift declarationvar usesClassicLoadingMode: Bool { get set }set usesClassicLoadingMode(value: boolean)Swift declarationvar usesClassicLoadingMode: Bool { get set }get waitsForConnectivity(): booleanSwift declarationvar waitsForConnectivity: Bool { get set }set waitsForConnectivity(value: boolean)Swift declarationvar waitsForConnectivity: Bool { get set }No declarations were skipped in this snapshot.