Documentation Archive Developer
Search

CFNetwork Changes for Swift

CFNetwork

Removed CFHostClientContext.init()
Removed CFHostClientContext.init(version: CFIndex, info: UnsafeMutablePointer<Void>, retain: CFAllocatorRetainCallBack, release: CFAllocatorReleaseCallBack, copyDescription: CFAllocatorCopyDescriptionCallBack)
Removed CFNetServiceBrowserFlags.init(_: CFOptionFlags)
Removed CFNetServiceClientContext.init(version: CFIndex, info: UnsafeMutablePointer<Void>, retain: CFAllocatorRetainCallBack, release: CFAllocatorReleaseCallBack, copyDescription: CFAllocatorCopyDescriptionCallBack)
Removed CFNetServiceRegisterFlags.init(_: CFOptionFlags)
Added CFNetServiceClientContext.init(version: CFIndex, info: UnsafeMutablePointer<Void>, retain: CFAllocatorRetainCallBack?, release: CFAllocatorReleaseCallBack?, copyDescription: CFAllocatorCopyDescriptionCallBack?)
Declaration
From
struct CFHostClientContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: CFAllocatorRetainCallBack
    var release: CFAllocatorReleaseCallBack
    var copyDescription: CFAllocatorCopyDescriptionCallBack
    init()
    init(version version: CFIndex, info info: UnsafeMutablePointer<Void>, retain retain: CFAllocatorRetainCallBack, release release: CFAllocatorReleaseCallBack, copyDescription copyDescription: CFAllocatorCopyDescriptionCallBack)
}
To
struct CFHostClientContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: CFAllocatorRetainCallBack?
    var release: CFAllocatorReleaseCallBack?
    var copyDescription: CFAllocatorCopyDescriptionCallBack
}

Declaration
From
var release: CFAllocatorReleaseCallBack
To
var release: CFAllocatorReleaseCallBack?

Declaration
From
var retain: CFAllocatorRetainCallBack
To
var retain: CFAllocatorRetainCallBack?

Raw Value Type
From--
ToInt32

Raw Value Type
From--
ToInt32

DeclarationProtocols
From
struct CFNetServiceBrowserFlags : RawOptionSetType {
    init(_ rawValue: CFOptionFlags)
    init(rawValue rawValue: CFOptionFlags)
    static var MoreComing: CFNetServiceBrowserFlags { get }
    static var IsDomain: CFNetServiceBrowserFlags { get }
    static var IsDefault: CFNetServiceBrowserFlags { get }
    static var IsRegistrationDomain: CFNetServiceBrowserFlags { get }
    static var Remove: CFNetServiceBrowserFlags { get }
}
RawOptionSetType
To
struct CFNetServiceBrowserFlags : OptionSetType {
    init(rawValue rawValue: CFOptionFlags)
    static var MoreComing: CFNetServiceBrowserFlags { get }
    static var IsDomain: CFNetServiceBrowserFlags { get }
    static var IsDefault: CFNetServiceBrowserFlags { get }
    static var IsRegistrationDomain: CFNetServiceBrowserFlags { get }
    static var Remove: CFNetServiceBrowserFlags { get }
}
OptionSetType

Declaration
From
struct CFNetServiceClientContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: CFAllocatorRetainCallBack
    var release: CFAllocatorReleaseCallBack
    var copyDescription: CFAllocatorCopyDescriptionCallBack
    init()
    init(version version: CFIndex, info info: UnsafeMutablePointer<Void>, retain retain: CFAllocatorRetainCallBack, release release: CFAllocatorReleaseCallBack, copyDescription copyDescription: CFAllocatorCopyDescriptionCallBack)
}
To
struct CFNetServiceClientContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: CFAllocatorRetainCallBack?
    var release: CFAllocatorReleaseCallBack?
    var copyDescription: CFAllocatorCopyDescriptionCallBack?
    init()
    init(version version: CFIndex, info info: UnsafeMutablePointer<Void>, retain retain: CFAllocatorRetainCallBack?, release release: CFAllocatorReleaseCallBack?, copyDescription copyDescription: CFAllocatorCopyDescriptionCallBack?)
}

Declaration
From
var copyDescription: CFAllocatorCopyDescriptionCallBack
To
var copyDescription: CFAllocatorCopyDescriptionCallBack?

Declaration
From
var release: CFAllocatorReleaseCallBack
To
var release: CFAllocatorReleaseCallBack?

Declaration
From
var retain: CFAllocatorRetainCallBack
To
var retain: CFAllocatorRetainCallBack?

Raw Value Type
From--
ToInt32

DeclarationProtocols
From
struct CFNetServiceRegisterFlags : RawOptionSetType {
    init(_ rawValue: CFOptionFlags)
    init(rawValue rawValue: CFOptionFlags)
    static var FlagNoAutoRename: CFNetServiceRegisterFlags { get }
}
RawOptionSetType
To
struct CFNetServiceRegisterFlags : OptionSetType {
    init(rawValue rawValue: CFOptionFlags)
    static var NoAutoRename: CFNetServiceRegisterFlags { get }
}
OptionSetType

Declaration
From
static var FlagNoAutoRename: CFNetServiceRegisterFlags { get }
To
static var NoAutoRename: CFNetServiceRegisterFlags { get }

Raw Value Type
From--
ToInt32

DeclarationRaw Value Type
From
enum CFNetworkErrors : Int32 {
    case CFHostErrorHostNotFound
    case CFHostErrorUnknown
    case CFSOCKSErrorUnknownClientVersion
    case CFSOCKSErrorUnsupportedServerVersion
    case CFSOCKS4ErrorRequestFailed
    case CFSOCKS4ErrorIdentdFailed
    case CFSOCKS4ErrorIdConflict
    case CFSOCKS4ErrorUnknownStatusCode
    case CFSOCKS5ErrorBadState
    case CFSOCKS5ErrorBadResponseAddr
    case CFSOCKS5ErrorBadCredentials
    case CFSOCKS5ErrorUnsupportedNegotiationMethod
    case CFSOCKS5ErrorNoAcceptableMethod
    case CFFTPErrorUnexpectedStatusCode
    case CFErrorHTTPAuthenticationTypeUnsupported
    case CFErrorHTTPBadCredentials
    case CFErrorHTTPConnectionLost
    case CFErrorHTTPParseFailure
    case CFErrorHTTPRedirectionLoopDetected
    case CFErrorHTTPBadURL
    case CFErrorHTTPProxyConnectionFailure
    case CFErrorHTTPBadProxyCredentials
    case CFErrorPACFileError
    case CFErrorPACFileAuth
    case CFErrorHTTPSProxyConnectionFailure
    case CFStreamErrorHTTPSProxyFailureUnexpectedResponseToCONNECTMethod
    case CFURLErrorBackgroundSessionInUseByAnotherProcess
    case CFURLErrorBackgroundSessionWasDisconnected
    case CFURLErrorUnknown
    case CFURLErrorCancelled
    case CFURLErrorBadURL
    case CFURLErrorTimedOut
    case CFURLErrorUnsupportedURL
    case CFURLErrorCannotFindHost
    case CFURLErrorCannotConnectToHost
    case CFURLErrorNetworkConnectionLost
    case CFURLErrorDNSLookupFailed
    case CFURLErrorHTTPTooManyRedirects
    case CFURLErrorResourceUnavailable
    case CFURLErrorNotConnectedToInternet
    case CFURLErrorRedirectToNonExistentLocation
    case CFURLErrorBadServerResponse
    case CFURLErrorUserCancelledAuthentication
    case CFURLErrorUserAuthenticationRequired
    case CFURLErrorZeroByteResource
    case CFURLErrorCannotDecodeRawData
    case CFURLErrorCannotDecodeContentData
    case CFURLErrorCannotParseResponse
    case CFURLErrorInternationalRoamingOff
    case CFURLErrorCallIsActive
    case CFURLErrorDataNotAllowed
    case CFURLErrorRequestBodyStreamExhausted
    case CFURLErrorFileDoesNotExist
    case CFURLErrorFileIsDirectory
    case CFURLErrorNoPermissionsToReadFile
    case CFURLErrorDataLengthExceedsMaximum
    case CFURLErrorSecureConnectionFailed
    case CFURLErrorServerCertificateHasBadDate
    case CFURLErrorServerCertificateUntrusted
    case CFURLErrorServerCertificateHasUnknownRoot
    case CFURLErrorServerCertificateNotYetValid
    case CFURLErrorClientCertificateRejected
    case CFURLErrorClientCertificateRequired
    case CFURLErrorCannotLoadFromNetwork
    case CFURLErrorCannotCreateFile
    case CFURLErrorCannotOpenFile
    case CFURLErrorCannotCloseFile
    case CFURLErrorCannotWriteToFile
    case CFURLErrorCannotRemoveFile
    case CFURLErrorCannotMoveFile
    case CFURLErrorDownloadDecodingFailedMidStream
    case CFURLErrorDownloadDecodingFailedToComplete
    case CFHTTPCookieCannotParseCookieFile
    case CFNetServiceErrorUnknown
    case CFNetServiceErrorCollision
    case CFNetServiceErrorNotFound
    case CFNetServiceErrorInProgress
    case CFNetServiceErrorBadArgument
    case CFNetServiceErrorCancel
    case CFNetServiceErrorInvalid
    case CFNetServiceErrorTimeout
    case CFNetServiceErrorDNSServiceFailure
}
--
To
enum CFNetworkErrors : Int32 {
    case CFHostErrorHostNotFound
    case CFHostErrorUnknown
    case CFSOCKSErrorUnknownClientVersion
    case CFSOCKSErrorUnsupportedServerVersion
    case CFSOCKS4ErrorRequestFailed
    case CFSOCKS4ErrorIdentdFailed
    case CFSOCKS4ErrorIdConflict
    case CFSOCKS4ErrorUnknownStatusCode
    case CFSOCKS5ErrorBadState
    case CFSOCKS5ErrorBadResponseAddr
    case CFSOCKS5ErrorBadCredentials
    case CFSOCKS5ErrorUnsupportedNegotiationMethod
    case CFSOCKS5ErrorNoAcceptableMethod
    case CFFTPErrorUnexpectedStatusCode
    case CFErrorHTTPAuthenticationTypeUnsupported
    case CFErrorHTTPBadCredentials
    case CFErrorHTTPConnectionLost
    case CFErrorHTTPParseFailure
    case CFErrorHTTPRedirectionLoopDetected
    case CFErrorHTTPBadURL
    case CFErrorHTTPProxyConnectionFailure
    case CFErrorHTTPBadProxyCredentials
    case CFErrorPACFileError
    case CFErrorPACFileAuth
    case CFErrorHTTPSProxyConnectionFailure
    case CFStreamErrorHTTPSProxyFailureUnexpectedResponseToCONNECTMethod
    case CFURLErrorBackgroundSessionInUseByAnotherProcess
    case CFURLErrorBackgroundSessionWasDisconnected
    case CFURLErrorUnknown
    case CFURLErrorCancelled
    case CFURLErrorBadURL
    case CFURLErrorTimedOut
    case CFURLErrorUnsupportedURL
    case CFURLErrorCannotFindHost
    case CFURLErrorCannotConnectToHost
    case CFURLErrorNetworkConnectionLost
    case CFURLErrorDNSLookupFailed
    case CFURLErrorHTTPTooManyRedirects
    case CFURLErrorResourceUnavailable
    case CFURLErrorNotConnectedToInternet
    case CFURLErrorRedirectToNonExistentLocation
    case CFURLErrorBadServerResponse
    case CFURLErrorUserCancelledAuthentication
    case CFURLErrorUserAuthenticationRequired
    case CFURLErrorZeroByteResource
    case CFURLErrorCannotDecodeRawData
    case CFURLErrorCannotDecodeContentData
    case CFURLErrorCannotParseResponse
    case CFURLErrorInternationalRoamingOff
    case CFURLErrorCallIsActive
    case CFURLErrorDataNotAllowed
    case CFURLErrorRequestBodyStreamExhausted
    case CFURLErrorAppTransportSecurityRequiresSecureConnection
    case CFURLErrorFileDoesNotExist
    case CFURLErrorFileIsDirectory
    case CFURLErrorNoPermissionsToReadFile
    case CFURLErrorDataLengthExceedsMaximum
    case CFURLErrorSecureConnectionFailed
    case CFURLErrorServerCertificateHasBadDate
    case CFURLErrorServerCertificateUntrusted
    case CFURLErrorServerCertificateHasUnknownRoot
    case CFURLErrorServerCertificateNotYetValid
    case CFURLErrorClientCertificateRejected
    case CFURLErrorClientCertificateRequired
    case CFURLErrorCannotLoadFromNetwork
    case CFURLErrorCannotCreateFile
    case CFURLErrorCannotOpenFile
    case CFURLErrorCannotCloseFile
    case CFURLErrorCannotWriteToFile
    case CFURLErrorCannotRemoveFile
    case CFURLErrorCannotMoveFile
    case CFURLErrorDownloadDecodingFailedMidStream
    case CFURLErrorDownloadDecodingFailedToComplete
    case CFHTTPCookieCannotParseCookieFile
    case CFNetServiceErrorUnknown
    case CFNetServiceErrorCollision
    case CFNetServiceErrorNotFound
    case CFNetServiceErrorInProgress
    case CFNetServiceErrorBadArgument
    case CFNetServiceErrorCancel
    case CFNetServiceErrorInvalid
    case CFNetServiceErrorTimeout
    case CFNetServiceErrorDNSServiceFailure
}
Int32

Raw Value Type
From--
ToInt32

Raw Value Type
From--
ToInt32

DeclarationDeprecation
From
func CFFTPCreateParsedResourceListing(_ alloc: CFAllocator!, _ buffer: UnsafePointer<UInt8>, _ bufferLength: CFIndex, _ parsed: UnsafeMutablePointer<Unmanaged<CFDictionary>?>) -> CFIndex
--
To
func CFFTPCreateParsedResourceListing(_ alloc: CFAllocator?, _ buffer: UnsafePointer<UInt8>, _ bufferLength: CFIndex, _ parsed: UnsafeMutablePointer<Unmanaged<CFDictionary>?>) -> CFIndex
iOS 9.0

Declaration
From
func CFHostCancelInfoResolution(_ theHost: CFHost!, _ info: CFHostInfoType)
To
func CFHostCancelInfoResolution(_ theHost: CFHost, _ info: CFHostInfoType)

Declaration
From
typealias CFHostClientCallBack = CFunctionPointer<((CFHost!, CFHostInfoType, UnsafePointer<CFStreamError>, UnsafeMutablePointer<Void>) -> Void)>
To
typealias CFHostClientCallBack = (CFHost, CFHostInfoType, UnsafePointer<CFStreamError>, UnsafeMutablePointer<Void>) -> Void

Declaration
From
func CFHostCreateCopy(_ alloc: CFAllocator!, _ host: CFHost!) -> Unmanaged<CFHost>!
To
func CFHostCreateCopy(_ alloc: CFAllocator?, _ host: CFHost) -> Unmanaged<CFHost>

Declaration
From
func CFHostCreateWithAddress(_ allocator: CFAllocator!, _ addr: CFData!) -> Unmanaged<CFHost>!
To
func CFHostCreateWithAddress(_ allocator: CFAllocator?, _ addr: CFData) -> Unmanaged<CFHost>

Declaration
From
func CFHostCreateWithName(_ allocator: CFAllocator!, _ hostname: CFString!) -> Unmanaged<CFHost>!
To
func CFHostCreateWithName(_ allocator: CFAllocator?, _ hostname: CFString) -> Unmanaged<CFHost>

Declaration
From
func CFHostGetAddressing(_ theHost: CFHost!, _ hasBeenResolved: UnsafeMutablePointer<Boolean>) -> Unmanaged<CFArray>!
To
func CFHostGetAddressing(_ theHost: CFHost, _ hasBeenResolved: UnsafeMutablePointer<DarwinBoolean>) -> Unmanaged<CFArray>?

Declaration
From
func CFHostGetNames(_ theHost: CFHost!, _ hasBeenResolved: UnsafeMutablePointer<Boolean>) -> Unmanaged<CFArray>!
To
func CFHostGetNames(_ theHost: CFHost, _ hasBeenResolved: UnsafeMutablePointer<DarwinBoolean>) -> Unmanaged<CFArray>?

Declaration
From
func CFHostGetReachability(_ theHost: CFHost!, _ hasBeenResolved: UnsafeMutablePointer<Boolean>) -> Unmanaged<CFData>!
To
func CFHostGetReachability(_ theHost: CFHost, _ hasBeenResolved: UnsafeMutablePointer<DarwinBoolean>) -> Unmanaged<CFData>?

Declaration
From
func CFHostScheduleWithRunLoop(_ theHost: CFHost!, _ runLoop: CFRunLoop!, _ runLoopMode: CFString!)
To
func CFHostScheduleWithRunLoop(_ theHost: CFHost, _ runLoop: CFRunLoop, _ runLoopMode: CFString)

Declaration
From
func CFHostSetClient(_ theHost: CFHost!, _ clientCB: CFHostClientCallBack, _ clientContext: UnsafeMutablePointer<CFHostClientContext>) -> Boolean
To
func CFHostSetClient(_ theHost: CFHost, _ clientCB: CFHostClientCallBack?, _ clientContext: UnsafeMutablePointer<CFHostClientContext>) -> Bool

Declaration
From
func CFHostStartInfoResolution(_ theHost: CFHost!, _ info: CFHostInfoType, _ error: UnsafeMutablePointer<CFStreamError>) -> Boolean
To
func CFHostStartInfoResolution(_ theHost: CFHost, _ info: CFHostInfoType, _ error: UnsafeMutablePointer<CFStreamError>) -> Bool

Declaration
From
func CFHostUnscheduleFromRunLoop(_ theHost: CFHost!, _ runLoop: CFRunLoop!, _ runLoopMode: CFString!)
To
func CFHostUnscheduleFromRunLoop(_ theHost: CFHost, _ runLoop: CFRunLoop, _ runLoopMode: CFString)

Declaration
From
func CFHTTPAuthenticationAppliesToRequest(_ auth: CFHTTPAuthentication!, _ request: CFHTTPMessage!) -> Boolean
To
func CFHTTPAuthenticationAppliesToRequest(_ auth: CFHTTPAuthentication, _ request: CFHTTPMessage) -> Bool

Declaration
From
func CFHTTPAuthenticationCopyDomains(_ auth: CFHTTPAuthentication!) -> Unmanaged<CFArray>!
To
func CFHTTPAuthenticationCopyDomains(_ auth: CFHTTPAuthentication) -> Unmanaged<CFArray>

Declaration
From
func CFHTTPAuthenticationCopyMethod(_ auth: CFHTTPAuthentication!) -> Unmanaged<CFString>!
To
func CFHTTPAuthenticationCopyMethod(_ auth: CFHTTPAuthentication) -> Unmanaged<CFString>

Declaration
From
func CFHTTPAuthenticationCopyRealm(_ auth: CFHTTPAuthentication!) -> Unmanaged<CFString>!
To
func CFHTTPAuthenticationCopyRealm(_ auth: CFHTTPAuthentication) -> Unmanaged<CFString>

Declaration
From
func CFHTTPAuthenticationCreateFromResponse(_ alloc: CFAllocator!, _ response: CFHTTPMessage!) -> Unmanaged<CFHTTPAuthentication>!
To
func CFHTTPAuthenticationCreateFromResponse(_ alloc: CFAllocator?, _ response: CFHTTPMessage) -> Unmanaged<CFHTTPAuthentication>

Declaration
From
func CFHTTPAuthenticationIsValid(_ auth: CFHTTPAuthentication!, _ error: UnsafeMutablePointer<CFStreamError>) -> Boolean
To
func CFHTTPAuthenticationIsValid(_ auth: CFHTTPAuthentication, _ error: UnsafeMutablePointer<CFStreamError>) -> Bool

Declaration
From
func CFHTTPAuthenticationRequiresAccountDomain(_ auth: CFHTTPAuthentication!) -> Boolean
To
func CFHTTPAuthenticationRequiresAccountDomain(_ auth: CFHTTPAuthentication) -> Bool

Declaration
From
func CFHTTPAuthenticationRequiresOrderedRequests(_ auth: CFHTTPAuthentication!) -> Boolean
To
func CFHTTPAuthenticationRequiresOrderedRequests(_ auth: CFHTTPAuthentication) -> Bool

Declaration
From
func CFHTTPAuthenticationRequiresUserNameAndPassword(_ auth: CFHTTPAuthentication!) -> Boolean
To
func CFHTTPAuthenticationRequiresUserNameAndPassword(_ auth: CFHTTPAuthentication) -> Bool

Declaration
From
func CFHTTPMessageAddAuthentication(_ request: CFHTTPMessage!, _ authenticationFailureResponse: CFHTTPMessage!, _ username: CFString!, _ password: CFString!, _ authenticationScheme: CFString!, _ forProxy: Boolean) -> Boolean
To
func CFHTTPMessageAddAuthentication(_ request: CFHTTPMessage, _ authenticationFailureResponse: CFHTTPMessage?, _ username: CFString, _ password: CFString, _ authenticationScheme: CFString?, _ forProxy: Bool) -> Bool

Declaration
From
func CFHTTPMessageAppendBytes(_ message: CFHTTPMessage!, _ newBytes: UnsafePointer<UInt8>, _ numBytes: CFIndex) -> Boolean
To
func CFHTTPMessageAppendBytes(_ message: CFHTTPMessage, _ newBytes: UnsafePointer<UInt8>, _ numBytes: CFIndex) -> Bool

Declaration
From
func CFHTTPMessageApplyCredentialDictionary(_ request: CFHTTPMessage!, _ auth: CFHTTPAuthentication!, _ dict: CFDictionary!, _ error: UnsafeMutablePointer<CFStreamError>) -> Boolean
To
func CFHTTPMessageApplyCredentialDictionary(_ request: CFHTTPMessage, _ auth: CFHTTPAuthentication, _ dict: CFDictionary, _ error: UnsafeMutablePointer<CFStreamError>) -> Bool

Declaration
From
func CFHTTPMessageApplyCredentials(_ request: CFHTTPMessage!, _ auth: CFHTTPAuthentication!, _ username: CFString!, _ password: CFString!, _ error: UnsafeMutablePointer<CFStreamError>) -> Boolean
To
func CFHTTPMessageApplyCredentials(_ request: CFHTTPMessage, _ auth: CFHTTPAuthentication, _ username: CFString?, _ password: CFString?, _ error: UnsafeMutablePointer<CFStreamError>) -> Bool

Declaration
From
func CFHTTPMessageCopyAllHeaderFields(_ message: CFHTTPMessage!) -> Unmanaged<CFDictionary>!
To
func CFHTTPMessageCopyAllHeaderFields(_ message: CFHTTPMessage) -> Unmanaged<CFDictionary>?

Declaration
From
func CFHTTPMessageCopyBody(_ message: CFHTTPMessage!) -> Unmanaged<CFData>!
To
func CFHTTPMessageCopyBody(_ message: CFHTTPMessage) -> Unmanaged<CFData>?

Declaration
From
func CFHTTPMessageCopyHeaderFieldValue(_ message: CFHTTPMessage!, _ headerField: CFString!) -> Unmanaged<CFString>!
To
func CFHTTPMessageCopyHeaderFieldValue(_ message: CFHTTPMessage, _ headerField: CFString) -> Unmanaged<CFString>?

Declaration
From
func CFHTTPMessageCopyRequestMethod(_ request: CFHTTPMessage!) -> Unmanaged<CFString>!
To
func CFHTTPMessageCopyRequestMethod(_ request: CFHTTPMessage) -> Unmanaged<CFString>?

Declaration
From
func CFHTTPMessageCopyRequestURL(_ request: CFHTTPMessage!) -> Unmanaged<CFURL>!
To
func CFHTTPMessageCopyRequestURL(_ request: CFHTTPMessage) -> Unmanaged<CFURL>?

Declaration
From
func CFHTTPMessageCopyResponseStatusLine(_ response: CFHTTPMessage!) -> Unmanaged<CFString>!
To
func CFHTTPMessageCopyResponseStatusLine(_ response: CFHTTPMessage) -> Unmanaged<CFString>?

Declaration
From
func CFHTTPMessageCopySerializedMessage(_ message: CFHTTPMessage!) -> Unmanaged<CFData>!
To
func CFHTTPMessageCopySerializedMessage(_ message: CFHTTPMessage) -> Unmanaged<CFData>?

Declaration
From
func CFHTTPMessageCopyVersion(_ message: CFHTTPMessage!) -> Unmanaged<CFString>!
To
func CFHTTPMessageCopyVersion(_ message: CFHTTPMessage) -> Unmanaged<CFString>

Declaration
From
func CFHTTPMessageCreateCopy(_ alloc: CFAllocator!, _ message: CFHTTPMessage!) -> Unmanaged<CFHTTPMessage>!
To
func CFHTTPMessageCreateCopy(_ alloc: CFAllocator?, _ message: CFHTTPMessage) -> Unmanaged<CFHTTPMessage>

Declaration
From
func CFHTTPMessageCreateEmpty(_ alloc: CFAllocator!, _ isRequest: Boolean) -> Unmanaged<CFHTTPMessage>!
To
func CFHTTPMessageCreateEmpty(_ alloc: CFAllocator?, _ isRequest: Bool) -> Unmanaged<CFHTTPMessage>

Declaration
From
func CFHTTPMessageCreateRequest(_ alloc: CFAllocator!, _ requestMethod: CFString!, _ url: CFURL!, _ httpVersion: CFString!) -> Unmanaged<CFHTTPMessage>!
To
func CFHTTPMessageCreateRequest(_ alloc: CFAllocator?, _ requestMethod: CFString, _ url: CFURL, _ httpVersion: CFString) -> Unmanaged<CFHTTPMessage>

Declaration
From
func CFHTTPMessageCreateResponse(_ alloc: CFAllocator!, _ statusCode: CFIndex, _ statusDescription: CFString!, _ httpVersion: CFString!) -> Unmanaged<CFHTTPMessage>!
To
func CFHTTPMessageCreateResponse(_ alloc: CFAllocator?, _ statusCode: CFIndex, _ statusDescription: CFString?, _ httpVersion: CFString) -> Unmanaged<CFHTTPMessage>

Declaration
From
func CFHTTPMessageGetResponseStatusCode(_ response: CFHTTPMessage!) -> CFIndex
To
func CFHTTPMessageGetResponseStatusCode(_ response: CFHTTPMessage) -> CFIndex

Declaration
From
func CFHTTPMessageIsHeaderComplete(_ message: CFHTTPMessage!) -> Boolean
To
func CFHTTPMessageIsHeaderComplete(_ message: CFHTTPMessage) -> Bool

Declaration
From
func CFHTTPMessageIsRequest(_ message: CFHTTPMessage!) -> Boolean
To
func CFHTTPMessageIsRequest(_ message: CFHTTPMessage) -> Bool

Declaration
From
func CFHTTPMessageSetBody(_ message: CFHTTPMessage!, _ bodyData: CFData!)
To
func CFHTTPMessageSetBody(_ message: CFHTTPMessage, _ bodyData: CFData)

Declaration
From
func CFHTTPMessageSetHeaderFieldValue(_ message: CFHTTPMessage!, _ headerField: CFString!, _ value: CFString!)
To
func CFHTTPMessageSetHeaderFieldValue(_ message: CFHTTPMessage, _ headerField: CFString, _ value: CFString?)

Declaration
From
func CFNetDiagnosticCopyNetworkStatusPassively(_ details: CFNetDiagnostic!, _ description: UnsafeMutablePointer<Unmanaged<CFString>?>) -> CFNetDiagnosticStatus
To
func CFNetDiagnosticCopyNetworkStatusPassively(_ details: CFNetDiagnostic, _ description: UnsafeMutablePointer<Unmanaged<CFString>?>) -> CFNetDiagnosticStatus

Declaration
From
func CFNetDiagnosticCreateWithStreams(_ alloc: CFAllocator!, _ readStream: CFReadStream!, _ writeStream: CFWriteStream!) -> Unmanaged<CFNetDiagnostic>!
To
func CFNetDiagnosticCreateWithStreams(_ alloc: CFAllocator?, _ readStream: CFReadStream?, _ writeStream: CFWriteStream?) -> Unmanaged<CFNetDiagnostic>

Declaration
From
func CFNetDiagnosticCreateWithURL(_ alloc: CFAllocator!, _ url: CFURL!) -> Unmanaged<CFNetDiagnostic>!
To
func CFNetDiagnosticCreateWithURL(_ alloc: CFAllocator, _ url: CFURL) -> Unmanaged<CFNetDiagnostic>

Declaration
From
func CFNetDiagnosticDiagnoseProblemInteractively(_ details: CFNetDiagnostic!) -> CFNetDiagnosticStatus
To
func CFNetDiagnosticDiagnoseProblemInteractively(_ details: CFNetDiagnostic) -> CFNetDiagnosticStatus

Declaration
From
func CFNetDiagnosticSetName(_ details: CFNetDiagnostic!, _ name: CFString!)
To
func CFNetDiagnosticSetName(_ details: CFNetDiagnostic, _ name: CFString)

Declaration
From
typealias CFNetServiceBrowserClientCallBack = CFunctionPointer<((CFNetServiceBrowser!, CFOptionFlags, AnyObject!, UnsafeMutablePointer<CFStreamError>, UnsafeMutablePointer<Void>) -> Void)>
To
typealias CFNetServiceBrowserClientCallBack = (CFNetServiceBrowser, CFOptionFlags, AnyObject, UnsafeMutablePointer<CFStreamError>, UnsafeMutablePointer<Void>) -> Void

Declaration
From
func CFNetServiceBrowserCreate(_ alloc: CFAllocator!, _ clientCB: CFNetServiceBrowserClientCallBack, _ clientContext: UnsafeMutablePointer<CFNetServiceClientContext>) -> Unmanaged<CFNetServiceBrowser>!
To
func CFNetServiceBrowserCreate(_ alloc: CFAllocator?, _ clientCB: CFNetServiceBrowserClientCallBack, _ clientContext: UnsafeMutablePointer<CFNetServiceClientContext>) -> Unmanaged<CFNetServiceBrowser>

Declaration
From
func CFNetServiceBrowserInvalidate(_ browser: CFNetServiceBrowser!)
To
func CFNetServiceBrowserInvalidate(_ browser: CFNetServiceBrowser)

Declaration
From
func CFNetServiceBrowserScheduleWithRunLoop(_ browser: CFNetServiceBrowser!, _ runLoop: CFRunLoop!, _ runLoopMode: CFString!)
To
func CFNetServiceBrowserScheduleWithRunLoop(_ browser: CFNetServiceBrowser, _ runLoop: CFRunLoop, _ runLoopMode: CFString)

Declaration
From
func CFNetServiceBrowserSearchForDomains(_ browser: CFNetServiceBrowser!, _ registrationDomains: Boolean, _ error: UnsafeMutablePointer<CFStreamError>) -> Boolean
To
func CFNetServiceBrowserSearchForDomains(_ browser: CFNetServiceBrowser, _ registrationDomains: Bool, _ error: UnsafeMutablePointer<CFStreamError>) -> Bool

Declaration
From
func CFNetServiceBrowserSearchForServices(_ browser: CFNetServiceBrowser!, _ domain: CFString!, _ serviceType: CFString!, _ error: UnsafeMutablePointer<CFStreamError>) -> Boolean
To
func CFNetServiceBrowserSearchForServices(_ browser: CFNetServiceBrowser, _ domain: CFString, _ serviceType: CFString, _ error: UnsafeMutablePointer<CFStreamError>) -> Bool

Declaration
From
func CFNetServiceBrowserStopSearch(_ browser: CFNetServiceBrowser!, _ error: UnsafeMutablePointer<CFStreamError>)
To
func CFNetServiceBrowserStopSearch(_ browser: CFNetServiceBrowser, _ error: UnsafeMutablePointer<CFStreamError>)

Declaration
From
func CFNetServiceBrowserUnscheduleFromRunLoop(_ browser: CFNetServiceBrowser!, _ runLoop: CFRunLoop!, _ runLoopMode: CFString!)
To
func CFNetServiceBrowserUnscheduleFromRunLoop(_ browser: CFNetServiceBrowser, _ runLoop: CFRunLoop, _ runLoopMode: CFString)

Declaration
From
func CFNetServiceCancel(_ theService: CFNetService!)
To
func CFNetServiceCancel(_ theService: CFNetService)

Declaration
From
typealias CFNetServiceClientCallBack = CFunctionPointer<((CFNetService!, UnsafeMutablePointer<CFStreamError>, UnsafeMutablePointer<Void>) -> Void)>
To
typealias CFNetServiceClientCallBack = (CFNetService, UnsafeMutablePointer<CFStreamError>, UnsafeMutablePointer<Void>) -> Void

Declaration
From
func CFNetServiceCreate(_ alloc: CFAllocator!, _ domain: CFString!, _ serviceType: CFString!, _ name: CFString!, _ port: Int32) -> Unmanaged<CFNetService>!
To
func CFNetServiceCreate(_ alloc: CFAllocator?, _ domain: CFString, _ serviceType: CFString, _ name: CFString, _ port: Int32) -> Unmanaged<CFNetService>

Declaration
From
func CFNetServiceCreateCopy(_ alloc: CFAllocator!, _ service: CFNetService!) -> Unmanaged<CFNetService>!
To
func CFNetServiceCreateCopy(_ alloc: CFAllocator?, _ service: CFNetService) -> Unmanaged<CFNetService>

Declaration
From
func CFNetServiceCreateDictionaryWithTXTData(_ alloc: CFAllocator!, _ txtRecord: CFData!) -> Unmanaged<CFDictionary>!
To
func CFNetServiceCreateDictionaryWithTXTData(_ alloc: CFAllocator?, _ txtRecord: CFData) -> Unmanaged<CFDictionary>?

Declaration
From
func CFNetServiceCreateTXTDataWithDictionary(_ alloc: CFAllocator!, _ keyValuePairs: CFDictionary!) -> Unmanaged<CFData>!
To
func CFNetServiceCreateTXTDataWithDictionary(_ alloc: CFAllocator?, _ keyValuePairs: CFDictionary) -> Unmanaged<CFData>?

Declaration
From
func CFNetServiceGetAddressing(_ theService: CFNetService!) -> Unmanaged<CFArray>!
To
func CFNetServiceGetAddressing(_ theService: CFNetService) -> Unmanaged<CFArray>?

Declaration
From
func CFNetServiceGetDomain(_ theService: CFNetService!) -> Unmanaged<CFString>!
To
func CFNetServiceGetDomain(_ theService: CFNetService) -> Unmanaged<CFString>

Declaration
From
func CFNetServiceGetName(_ theService: CFNetService!) -> Unmanaged<CFString>!
To
func CFNetServiceGetName(_ theService: CFNetService) -> Unmanaged<CFString>

Declaration
From
func CFNetServiceGetPortNumber(_ theService: CFNetService!) -> Int32
To
func CFNetServiceGetPortNumber(_ theService: CFNetService) -> Int32

Declaration
From
func CFNetServiceGetTargetHost(_ theService: CFNetService!) -> Unmanaged<CFString>!
To
func CFNetServiceGetTargetHost(_ theService: CFNetService) -> Unmanaged<CFString>?

Declaration
From
func CFNetServiceGetTXTData(_ theService: CFNetService!) -> Unmanaged<CFData>!
To
func CFNetServiceGetTXTData(_ theService: CFNetService) -> Unmanaged<CFData>?

Declaration
From
func CFNetServiceGetType(_ theService: CFNetService!) -> Unmanaged<CFString>!
To
func CFNetServiceGetType(_ theService: CFNetService) -> Unmanaged<CFString>

Declaration
From
typealias CFNetServiceMonitorClientCallBack = CFunctionPointer<((CFNetServiceMonitor!, CFNetService!, CFNetServiceMonitorType, CFData!, UnsafeMutablePointer<CFStreamError>, UnsafeMutablePointer<Void>) -> Void)>
To
typealias CFNetServiceMonitorClientCallBack = (CFNetServiceMonitor, CFNetService, CFNetServiceMonitorType, CFData, UnsafeMutablePointer<CFStreamError>, UnsafeMutablePointer<Void>) -> Void

Declaration
From
func CFNetServiceMonitorCreate(_ alloc: CFAllocator!, _ theService: CFNetService!, _ clientCB: CFNetServiceMonitorClientCallBack, _ clientContext: UnsafeMutablePointer<CFNetServiceClientContext>) -> Unmanaged<CFNetServiceMonitor>!
To
func CFNetServiceMonitorCreate(_ alloc: CFAllocator?, _ theService: CFNetService, _ clientCB: CFNetServiceMonitorClientCallBack, _ clientContext: UnsafeMutablePointer<CFNetServiceClientContext>) -> Unmanaged<CFNetServiceMonitor>

Declaration
From
func CFNetServiceMonitorInvalidate(_ monitor: CFNetServiceMonitor!)
To
func CFNetServiceMonitorInvalidate(_ monitor: CFNetServiceMonitor)

Declaration
From
func CFNetServiceMonitorScheduleWithRunLoop(_ monitor: CFNetServiceMonitor!, _ runLoop: CFRunLoop!, _ runLoopMode: CFString!)
To
func CFNetServiceMonitorScheduleWithRunLoop(_ monitor: CFNetServiceMonitor, _ runLoop: CFRunLoop, _ runLoopMode: CFString)

Declaration
From
func CFNetServiceMonitorStart(_ monitor: CFNetServiceMonitor!, _ recordType: CFNetServiceMonitorType, _ error: UnsafeMutablePointer<CFStreamError>) -> Boolean
To
func CFNetServiceMonitorStart(_ monitor: CFNetServiceMonitor, _ recordType: CFNetServiceMonitorType, _ error: UnsafeMutablePointer<CFStreamError>) -> Bool

Declaration
From
func CFNetServiceMonitorStop(_ monitor: CFNetServiceMonitor!, _ error: UnsafeMutablePointer<CFStreamError>)
To
func CFNetServiceMonitorStop(_ monitor: CFNetServiceMonitor, _ error: UnsafeMutablePointer<CFStreamError>)

Declaration
From
func CFNetServiceMonitorUnscheduleFromRunLoop(_ monitor: CFNetServiceMonitor!, _ runLoop: CFRunLoop!, _ runLoopMode: CFString!)
To
func CFNetServiceMonitorUnscheduleFromRunLoop(_ monitor: CFNetServiceMonitor, _ runLoop: CFRunLoop, _ runLoopMode: CFString)

Declaration
From
func CFNetServiceRegisterWithOptions(_ theService: CFNetService!, _ options: CFOptionFlags, _ error: UnsafeMutablePointer<CFStreamError>) -> Boolean
To
func CFNetServiceRegisterWithOptions(_ theService: CFNetService, _ options: CFOptionFlags, _ error: UnsafeMutablePointer<CFStreamError>) -> Bool

Declaration
From
func CFNetServiceResolveWithTimeout(_ theService: CFNetService!, _ timeout: CFTimeInterval, _ error: UnsafeMutablePointer<CFStreamError>) -> Boolean
To
func CFNetServiceResolveWithTimeout(_ theService: CFNetService, _ timeout: CFTimeInterval, _ error: UnsafeMutablePointer<CFStreamError>) -> Bool

Declaration
From
func CFNetServiceScheduleWithRunLoop(_ theService: CFNetService!, _ runLoop: CFRunLoop!, _ runLoopMode: CFString!)
To
func CFNetServiceScheduleWithRunLoop(_ theService: CFNetService, _ runLoop: CFRunLoop, _ runLoopMode: CFString)

Declaration
From
func CFNetServiceSetClient(_ theService: CFNetService!, _ clientCB: CFNetServiceClientCallBack, _ clientContext: UnsafeMutablePointer<CFNetServiceClientContext>) -> Boolean
To
func CFNetServiceSetClient(_ theService: CFNetService, _ clientCB: CFNetServiceClientCallBack?, _ clientContext: UnsafeMutablePointer<CFNetServiceClientContext>) -> Bool

Declaration
From
func CFNetServiceSetTXTData(_ theService: CFNetService!, _ txtRecord: CFData!) -> Boolean
To
func CFNetServiceSetTXTData(_ theService: CFNetService, _ txtRecord: CFData) -> Bool

Declaration
From
func CFNetServiceUnscheduleFromRunLoop(_ theService: CFNetService!, _ runLoop: CFRunLoop!, _ runLoopMode: CFString!)
To
func CFNetServiceUnscheduleFromRunLoop(_ theService: CFNetService, _ runLoop: CFRunLoop, _ runLoopMode: CFString)

Declaration
From
func CFNetworkCopyProxiesForAutoConfigurationScript(_ proxyAutoConfigurationScript: CFString!, _ targetURL: CFURL!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Unmanaged<CFArray>!
To
func CFNetworkCopyProxiesForAutoConfigurationScript(_ proxyAutoConfigurationScript: CFString, _ targetURL: CFURL, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Unmanaged<CFArray>?

Declaration
From
func CFNetworkCopyProxiesForURL(_ url: CFURL!, _ proxySettings: CFDictionary!) -> Unmanaged<CFArray>!
To
func CFNetworkCopyProxiesForURL(_ url: CFURL, _ proxySettings: CFDictionary) -> Unmanaged<CFArray>

Declaration
From
func CFNetworkCopySystemProxySettings() -> Unmanaged<CFDictionary>!
To
func CFNetworkCopySystemProxySettings() -> Unmanaged<CFDictionary>?

Declaration
From
func CFNetworkExecuteProxyAutoConfigurationScript(_ proxyAutoConfigurationScript: CFString!, _ targetURL: CFURL!, _ cb: CFProxyAutoConfigurationResultCallback, _ clientContext: UnsafeMutablePointer<CFStreamClientContext>) -> Unmanaged<CFRunLoopSource>!
To
func CFNetworkExecuteProxyAutoConfigurationScript(_ proxyAutoConfigurationScript: CFString, _ targetURL: CFURL, _ cb: CFProxyAutoConfigurationResultCallback, _ clientContext: UnsafeMutablePointer<CFStreamClientContext>) -> Unmanaged<CFRunLoopSource>

Declaration
From
func CFNetworkExecuteProxyAutoConfigurationURL(_ proxyAutoConfigURL: CFURL!, _ targetURL: CFURL!, _ cb: CFProxyAutoConfigurationResultCallback, _ clientContext: UnsafeMutablePointer<CFStreamClientContext>) -> Unmanaged<CFRunLoopSource>!
To
func CFNetworkExecuteProxyAutoConfigurationURL(_ proxyAutoConfigURL: CFURL, _ targetURL: CFURL, _ cb: CFProxyAutoConfigurationResultCallback, _ clientContext: UnsafeMutablePointer<CFStreamClientContext>) -> Unmanaged<CFRunLoopSource>

Declaration
From
typealias CFProxyAutoConfigurationResultCallback = CFunctionPointer<((UnsafeMutablePointer<Void>, CFArray!, CFError!) -> Void)>
To
typealias CFProxyAutoConfigurationResultCallback = (UnsafeMutablePointer<Void>, CFArray, CFError?) -> Void

DeclarationDeprecation
From
func CFReadStreamCreateForHTTPRequest(_ alloc: CFAllocator!, _ request: CFHTTPMessage!) -> Unmanaged<CFReadStream>!
--
To
func CFReadStreamCreateForHTTPRequest(_ alloc: CFAllocator?, _ request: CFHTTPMessage) -> Unmanaged<CFReadStream>
iOS 9.0

DeclarationDeprecation
From
func CFReadStreamCreateForStreamedHTTPRequest(_ alloc: CFAllocator!, _ requestHeaders: CFHTTPMessage!, _ requestBody: CFReadStream!) -> Unmanaged<CFReadStream>!
--
To
func CFReadStreamCreateForStreamedHTTPRequest(_ alloc: CFAllocator?, _ requestHeaders: CFHTTPMessage, _ requestBody: CFReadStream) -> Unmanaged<CFReadStream>
iOS 9.0

DeclarationDeprecation
From
func CFReadStreamCreateWithFTPURL(_ alloc: CFAllocator!, _ ftpURL: CFURL!) -> Unmanaged<CFReadStream>!
--
To
func CFReadStreamCreateWithFTPURL(_ alloc: CFAllocator?, _ ftpURL: CFURL) -> Unmanaged<CFReadStream>
iOS 9.0

Declaration
From
func CFStreamCreatePairWithSocketToCFHost(_ alloc: CFAllocator!, _ host: CFHost!, _ port: Int32, _ readStream: UnsafeMutablePointer<Unmanaged<CFReadStream>?>, _ writeStream: UnsafeMutablePointer<Unmanaged<CFWriteStream>?>)
To
func CFStreamCreatePairWithSocketToCFHost(_ alloc: CFAllocator?, _ host: CFHost, _ port: Int32, _ readStream: UnsafeMutablePointer<Unmanaged<CFReadStream>?>, _ writeStream: UnsafeMutablePointer<Unmanaged<CFWriteStream>?>)

Declaration
From
func CFStreamCreatePairWithSocketToNetService(_ alloc: CFAllocator!, _ service: CFNetService!, _ readStream: UnsafeMutablePointer<Unmanaged<CFReadStream>?>, _ writeStream: UnsafeMutablePointer<Unmanaged<CFWriteStream>?>)
To
func CFStreamCreatePairWithSocketToNetService(_ alloc: CFAllocator?, _ service: CFNetService, _ readStream: UnsafeMutablePointer<Unmanaged<CFReadStream>?>, _ writeStream: UnsafeMutablePointer<Unmanaged<CFWriteStream>?>)

DeclarationDeprecation
From
func CFWriteStreamCreateWithFTPURL(_ alloc: CFAllocator!, _ ftpURL: CFURL!) -> Unmanaged<CFWriteStream>!
--
To
func CFWriteStreamCreateWithFTPURL(_ alloc: CFAllocator?, _ ftpURL: CFURL) -> Unmanaged<CFWriteStream>
iOS 9.0

Declaration
From
let kCFDNSServiceFailureKey: CFString!
To
let kCFDNSServiceFailureKey: CFString

Declaration
From
let kCFErrorDomainCFNetwork: CFString!
To
let kCFErrorDomainCFNetwork: CFString

Declaration
From
let kCFErrorDomainWinSock: CFString!
To
let kCFErrorDomainWinSock: CFString

DeclarationDeprecation
From
let kCFFTPResourceGroup: CFString!
--
To
let kCFFTPResourceGroup: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFFTPResourceLink: CFString!
--
To
let kCFFTPResourceLink: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFFTPResourceModDate: CFString!
--
To
let kCFFTPResourceModDate: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFFTPResourceMode: CFString!
--
To
let kCFFTPResourceMode: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFFTPResourceName: CFString!
--
To
let kCFFTPResourceName: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFFTPResourceOwner: CFString!
--
To
let kCFFTPResourceOwner: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFFTPResourceSize: CFString!
--
To
let kCFFTPResourceSize: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFFTPResourceType: CFString!
--
To
let kCFFTPResourceType: CFString
iOS 9.0

Declaration
From
let kCFFTPStatusCodeKey: CFString!
To
let kCFFTPStatusCodeKey: CFString

Declaration
From
let kCFGetAddrInfoFailureKey: CFString!
To
let kCFGetAddrInfoFailureKey: CFString

Declaration
From
let kCFHTTPAuthenticationAccountDomain: CFString!
To
let kCFHTTPAuthenticationAccountDomain: CFString

Declaration
From
let kCFHTTPAuthenticationPassword: CFString!
To
let kCFHTTPAuthenticationPassword: CFString

Declaration
From
let kCFHTTPAuthenticationSchemeBasic: CFString!
To
let kCFHTTPAuthenticationSchemeBasic: CFString

Declaration
From
let kCFHTTPAuthenticationSchemeDigest: CFString!
To
let kCFHTTPAuthenticationSchemeDigest: CFString

Declaration
From
let kCFHTTPAuthenticationSchemeKerberos: CFString!
To
let kCFHTTPAuthenticationSchemeKerberos: CFString

Declaration
From
let kCFHTTPAuthenticationSchemeNegotiate: CFString!
To
let kCFHTTPAuthenticationSchemeNegotiate: CFString

Declaration
From
let kCFHTTPAuthenticationSchemeNegotiate2: CFString!
To
let kCFHTTPAuthenticationSchemeNegotiate2: CFString

Declaration
From
let kCFHTTPAuthenticationSchemeNTLM: CFString!
To
let kCFHTTPAuthenticationSchemeNTLM: CFString

Modified kCFHTTPAuthenticationSchemeOAuth1
Declaration
From
let kCFHTTPAuthenticationSchemeOAuth1: CFString!
To
let kCFHTTPAuthenticationSchemeOAuth1: CFString

Declaration
From
let kCFHTTPAuthenticationSchemeXMobileMeAuthToken: CFString!
To
let kCFHTTPAuthenticationSchemeXMobileMeAuthToken: CFString

Declaration
From
let kCFHTTPAuthenticationUsername: CFString!
To
let kCFHTTPAuthenticationUsername: CFString

Declaration
From
let kCFHTTPVersion1_0: CFString!
To
let kCFHTTPVersion1_0: CFString

Declaration
From
let kCFHTTPVersion1_1: CFString!
To
let kCFHTTPVersion1_1: CFString

Declaration
From
let kCFNetworkProxiesHTTPEnable: CFString!
To
let kCFNetworkProxiesHTTPEnable: CFString

Declaration
From
let kCFNetworkProxiesHTTPPort: CFString!
To
let kCFNetworkProxiesHTTPPort: CFString

Declaration
From
let kCFNetworkProxiesHTTPProxy: CFString!
To
let kCFNetworkProxiesHTTPProxy: CFString

Declaration
From
let kCFNetworkProxiesProxyAutoConfigEnable: CFString!
To
let kCFNetworkProxiesProxyAutoConfigEnable: CFString

Declaration
From
let kCFNetworkProxiesProxyAutoConfigJavaScript: CFString!
To
let kCFNetworkProxiesProxyAutoConfigJavaScript: CFString

Declaration
From
let kCFNetworkProxiesProxyAutoConfigURLString: CFString!
To
let kCFNetworkProxiesProxyAutoConfigURLString: CFString

Declaration
From
let kCFProxyAutoConfigurationHTTPResponseKey: CFString!
To
let kCFProxyAutoConfigurationHTTPResponseKey: CFString

Declaration
From
let kCFProxyAutoConfigurationJavaScriptKey: CFString!
To
let kCFProxyAutoConfigurationJavaScriptKey: CFString

Declaration
From
let kCFProxyAutoConfigurationURLKey: CFString!
To
let kCFProxyAutoConfigurationURLKey: CFString

Declaration
From
let kCFProxyHostNameKey: CFString!
To
let kCFProxyHostNameKey: CFString

Declaration
From
let kCFProxyPasswordKey: CFString!
To
let kCFProxyPasswordKey: CFString

Declaration
From
let kCFProxyPortNumberKey: CFString!
To
let kCFProxyPortNumberKey: CFString

Declaration
From
let kCFProxyTypeAutoConfigurationJavaScript: CFString!
To
let kCFProxyTypeAutoConfigurationJavaScript: CFString

Declaration
From
let kCFProxyTypeAutoConfigurationURL: CFString!
To
let kCFProxyTypeAutoConfigurationURL: CFString

Declaration
From
let kCFProxyTypeFTP: CFString!
To
let kCFProxyTypeFTP: CFString

Declaration
From
let kCFProxyTypeHTTP: CFString!
To
let kCFProxyTypeHTTP: CFString

Declaration
From
let kCFProxyTypeHTTPS: CFString!
To
let kCFProxyTypeHTTPS: CFString

Declaration
From
let kCFProxyTypeKey: CFString!
To
let kCFProxyTypeKey: CFString

Declaration
From
let kCFProxyTypeNone: CFString!
To
let kCFProxyTypeNone: CFString

Declaration
From
let kCFProxyTypeSOCKS: CFString!
To
let kCFProxyTypeSOCKS: CFString

Declaration
From
let kCFProxyUsernameKey: CFString!
To
let kCFProxyUsernameKey: CFString

Declaration
From
let kCFSOCKSNegotiationMethodKey: CFString!
To
let kCFSOCKSNegotiationMethodKey: CFString

Declaration
From
let kCFSOCKSStatusCodeKey: CFString!
To
let kCFSOCKSStatusCodeKey: CFString

Declaration
From
let kCFSOCKSVersionKey: CFString!
To
let kCFSOCKSVersionKey: CFString

Declaration
From
let kCFStreamNetworkServiceType: CFString!
To
let kCFStreamNetworkServiceType: CFString

Declaration
From
let kCFStreamNetworkServiceTypeBackground: CFString!
To
let kCFStreamNetworkServiceTypeBackground: CFString

Declaration
From
let kCFStreamNetworkServiceTypeVideo: CFString!
To
let kCFStreamNetworkServiceTypeVideo: CFString

Declaration
From
let kCFStreamNetworkServiceTypeVoice: CFString!
To
let kCFStreamNetworkServiceTypeVoice: CFString

DeclarationDeprecation
From
let kCFStreamNetworkServiceTypeVoIP: CFString!
--
To
let kCFStreamNetworkServiceTypeVoIP: CFString
iOS 9.0

Declaration
From
let kCFStreamPropertyConnectionIsCellular: CFString!
To
let kCFStreamPropertyConnectionIsCellular: CFString

DeclarationDeprecation
From
let kCFStreamPropertyFTPAttemptPersistentConnection: CFString!
--
To
let kCFStreamPropertyFTPAttemptPersistentConnection: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPFetchResourceInfo: CFString!
--
To
let kCFStreamPropertyFTPFetchResourceInfo: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPFileTransferOffset: CFString!
--
To
let kCFStreamPropertyFTPFileTransferOffset: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPPassword: CFString!
--
To
let kCFStreamPropertyFTPPassword: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPProxy: CFString!
--
To
let kCFStreamPropertyFTPProxy: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPProxyHost: CFString!
--
To
let kCFStreamPropertyFTPProxyHost: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPProxyPassword: CFString!
--
To
let kCFStreamPropertyFTPProxyPassword: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPProxyPort: CFString!
--
To
let kCFStreamPropertyFTPProxyPort: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPProxyUser: CFString!
--
To
let kCFStreamPropertyFTPProxyUser: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPResourceSize: CFString!
--
To
let kCFStreamPropertyFTPResourceSize: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPUsePassiveMode: CFString!
--
To
let kCFStreamPropertyFTPUsePassiveMode: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyFTPUserName: CFString!
--
To
let kCFStreamPropertyFTPUserName: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPAttemptPersistentConnection: CFString!
--
To
let kCFStreamPropertyHTTPAttemptPersistentConnection: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPFinalRequest: CFString!
--
To
let kCFStreamPropertyHTTPFinalRequest: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPFinalURL: CFString!
--
To
let kCFStreamPropertyHTTPFinalURL: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPProxy: CFString!
--
To
let kCFStreamPropertyHTTPProxy: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPProxyHost: CFString!
--
To
let kCFStreamPropertyHTTPProxyHost: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPProxyPort: CFString!
--
To
let kCFStreamPropertyHTTPProxyPort: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPRequestBytesWrittenCount: CFString!
--
To
let kCFStreamPropertyHTTPRequestBytesWrittenCount: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPResponseHeader: CFString!
--
To
let kCFStreamPropertyHTTPResponseHeader: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPShouldAutoredirect: CFString!
--
To
let kCFStreamPropertyHTTPShouldAutoredirect: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPSProxyHost: CFString!
--
To
let kCFStreamPropertyHTTPSProxyHost: CFString
iOS 9.0

DeclarationDeprecation
From
let kCFStreamPropertyHTTPSProxyPort: CFString!
--
To
let kCFStreamPropertyHTTPSProxyPort: CFString
iOS 9.0

Declaration
From
let kCFStreamPropertyNoCellular: CFString!
To
let kCFStreamPropertyNoCellular: CFString

Declaration
From
let kCFStreamPropertyProxyLocalBypass: CFString!
To
let kCFStreamPropertyProxyLocalBypass: CFString

Declaration
From
let kCFStreamPropertyShouldCloseNativeSocket: CFString!
To
let kCFStreamPropertyShouldCloseNativeSocket: CFString

Declaration
From
let kCFStreamPropertySocketRemoteHost: CFString!
To
let kCFStreamPropertySocketRemoteHost: CFString

Declaration
From
let kCFStreamPropertySocketRemoteNetService: CFString!
To
let kCFStreamPropertySocketRemoteNetService: CFString

Declaration
From
let kCFStreamPropertySocketSecurityLevel: CFString!
To
let kCFStreamPropertySocketSecurityLevel: CFString

Declaration
From
let kCFStreamPropertySOCKSPassword: CFString!
To
let kCFStreamPropertySOCKSPassword: CFString

Declaration
From
let kCFStreamPropertySOCKSProxy: CFString!
To
let kCFStreamPropertySOCKSProxy: CFString

Declaration
From
let kCFStreamPropertySOCKSProxyHost: CFString!
To
let kCFStreamPropertySOCKSProxyHost: CFString

Declaration
From
let kCFStreamPropertySOCKSProxyPort: CFString!
To
let kCFStreamPropertySOCKSProxyPort: CFString

Declaration
From
let kCFStreamPropertySOCKSUser: CFString!
To
let kCFStreamPropertySOCKSUser: CFString

Declaration
From
let kCFStreamPropertySOCKSVersion: CFString!
To
let kCFStreamPropertySOCKSVersion: CFString

Declaration
From
let kCFStreamPropertySSLContext: CFString!
To
let kCFStreamPropertySSLContext: CFString

Declaration
From
let kCFStreamPropertySSLPeerTrust: CFString!
To
let kCFStreamPropertySSLPeerTrust: CFString

Declaration
From
let kCFStreamPropertySSLSettings: CFString!
To
let kCFStreamPropertySSLSettings: CFString

Declaration
From
let kCFStreamSocketSecurityLevelNegotiatedSSL: CFString!
To
let kCFStreamSocketSecurityLevelNegotiatedSSL: CFString

Declaration
From
let kCFStreamSocketSecurityLevelNone: CFString!
To
let kCFStreamSocketSecurityLevelNone: CFString

Declaration
From
let kCFStreamSocketSecurityLevelSSLv2: CFString!
To
let kCFStreamSocketSecurityLevelSSLv2: CFString

Declaration
From
let kCFStreamSocketSecurityLevelSSLv3: CFString!
To
let kCFStreamSocketSecurityLevelSSLv3: CFString

Declaration
From
let kCFStreamSocketSecurityLevelTLSv1: CFString!
To
let kCFStreamSocketSecurityLevelTLSv1: CFString

Declaration
From
let kCFStreamSocketSOCKSVersion4: CFString!
To
let kCFStreamSocketSOCKSVersion4: CFString

Declaration
From
let kCFStreamSocketSOCKSVersion5: CFString!
To
let kCFStreamSocketSOCKSVersion5: CFString

Declaration
From
let kCFStreamSSLCertificates: CFString!
To
let kCFStreamSSLCertificates: CFString

Declaration
From
let kCFStreamSSLIsServer: CFString!
To
let kCFStreamSSLIsServer: CFString

Declaration
From
let kCFStreamSSLLevel: CFString!
To
let kCFStreamSSLLevel: CFString

Declaration
From
let kCFStreamSSLPeerName: CFString!
To
let kCFStreamSSLPeerName: CFString

Declaration
From
let kCFStreamSSLValidatesCertificateChain: CFString!
To
let kCFStreamSSLValidatesCertificateChain: CFString

Declaration
From
let kCFURLErrorFailingURLErrorKey: CFString!
To
let kCFURLErrorFailingURLErrorKey: CFString

Declaration
From
let kCFURLErrorFailingURLStringErrorKey: CFString!
To
let kCFURLErrorFailingURLStringErrorKey: CFString