Documentation
¶
Overview ¶
Package cfnetwork provides a fluent Go API over the macOS CFNetwork framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Index ¶
- Constants
- func CFFTPCreateParsedResourceListing(alloc corefoundation.CFAllocatorRef, buffer unsafe.Pointer, bufferLength int, ...) int
- func CFHTTPAuthenticationAppliesToRequest(auth corefoundation.CFHTTPAuthenticationRef, ...) uint8
- func CFHTTPAuthenticationCopyDomains(auth corefoundation.CFHTTPAuthenticationRef) corefoundation.CFArrayRef
- func CFHTTPAuthenticationCopyMethod(auth corefoundation.CFHTTPAuthenticationRef) corefoundation.CFStringRef
- func CFHTTPAuthenticationCopyRealm(auth corefoundation.CFHTTPAuthenticationRef) corefoundation.CFStringRef
- func CFHTTPAuthenticationCreateFromResponse(alloc corefoundation.CFAllocatorRef, response corefoundation.CFHTTPMessageRef) corefoundation.CFHTTPAuthenticationRef
- func CFHTTPAuthenticationGetTypeID() int
- func CFHTTPAuthenticationIsValid(auth corefoundation.CFHTTPAuthenticationRef, err *corefoundation.CFStreamError) uint8
- func CFHTTPAuthenticationRequiresAccountDomain(auth corefoundation.CFHTTPAuthenticationRef) uint8
- func CFHTTPAuthenticationRequiresOrderedRequests(auth corefoundation.CFHTTPAuthenticationRef) uint8
- func CFHTTPAuthenticationRequiresUserNameAndPassword(auth corefoundation.CFHTTPAuthenticationRef) uint8
- func CFHTTPMessageAddAuthentication(request corefoundation.CFHTTPMessageRef, ...) uint8
- func CFHTTPMessageAppendBytes(message corefoundation.CFHTTPMessageRef, newBytes unsafe.Pointer, numBytes int) uint8
- func CFHTTPMessageApplyCredentialDictionary(request corefoundation.CFHTTPMessageRef, ...) uint8
- func CFHTTPMessageApplyCredentials(request corefoundation.CFHTTPMessageRef, ...) uint8
- func CFHTTPMessageCopyAllHeaderFields(message corefoundation.CFHTTPMessageRef) corefoundation.CFDictionaryRef
- func CFHTTPMessageCopyBody(message corefoundation.CFHTTPMessageRef) corefoundation.CFDataRef
- func CFHTTPMessageCopyHeaderFieldValue(message corefoundation.CFHTTPMessageRef, ...) corefoundation.CFStringRef
- func CFHTTPMessageCopyRequestMethod(request corefoundation.CFHTTPMessageRef) corefoundation.CFStringRef
- func CFHTTPMessageCopyRequestURL(request corefoundation.CFHTTPMessageRef) corefoundation.CFURLRef
- func CFHTTPMessageCopyResponseStatusLine(response corefoundation.CFHTTPMessageRef) corefoundation.CFStringRef
- func CFHTTPMessageCopySerializedMessage(message corefoundation.CFHTTPMessageRef) corefoundation.CFDataRef
- func CFHTTPMessageCopyVersion(message corefoundation.CFHTTPMessageRef) corefoundation.CFStringRef
- func CFHTTPMessageCreateCopy(alloc corefoundation.CFAllocatorRef, message corefoundation.CFHTTPMessageRef) corefoundation.CFHTTPMessageRef
- func CFHTTPMessageCreateEmpty(alloc corefoundation.CFAllocatorRef, isRequest uint8) corefoundation.CFHTTPMessageRef
- func CFHTTPMessageCreateRequest(alloc corefoundation.CFAllocatorRef, requestMethod corefoundation.CFStringRef, ...) corefoundation.CFHTTPMessageRef
- func CFHTTPMessageCreateResponse(alloc corefoundation.CFAllocatorRef, statusCode int, ...) corefoundation.CFHTTPMessageRef
- func CFHTTPMessageGetResponseStatusCode(response corefoundation.CFHTTPMessageRef) int
- func CFHTTPMessageGetTypeID() int
- func CFHTTPMessageIsHeaderComplete(message corefoundation.CFHTTPMessageRef) uint8
- func CFHTTPMessageIsRequest(message corefoundation.CFHTTPMessageRef) uint8
- func CFHTTPMessageSetBody(message corefoundation.CFHTTPMessageRef, bodyData corefoundation.CFDataRef)
- func CFHTTPMessageSetHeaderFieldValue(message corefoundation.CFHTTPMessageRef, ...)
- func CFHostCancelInfoResolution(theHost corefoundation.CFHostRef, info CFHostInfoType)
- func CFHostCreateCopy(alloc corefoundation.CFAllocatorRef, host corefoundation.CFHostRef) corefoundation.CFHostRef
- func CFHostCreateWithAddress(allocator corefoundation.CFAllocatorRef, addr corefoundation.CFDataRef) corefoundation.CFHostRef
- func CFHostCreateWithName(allocator corefoundation.CFAllocatorRef, hostname corefoundation.CFStringRef) corefoundation.CFHostRef
- func CFHostGetAddressing(theHost corefoundation.CFHostRef) (result corefoundation.CFArrayRef, hasBeenResolved uint8)
- func CFHostGetNames(theHost corefoundation.CFHostRef) (result corefoundation.CFArrayRef, hasBeenResolved uint8)
- func CFHostGetReachability(theHost corefoundation.CFHostRef) (result corefoundation.CFDataRef, hasBeenResolved uint8)
- func CFHostGetTypeID() int
- func CFHostScheduleWithRunLoop(theHost corefoundation.CFHostRef, runLoop corefoundation.CFRunLoopRef, ...)
- func CFHostSetClient(theHost corefoundation.CFHostRef, clientCB unsafe.Pointer, ...) uint8
- func CFHostStartInfoResolution(theHost corefoundation.CFHostRef, info CFHostInfoType, ...) uint8
- func CFHostUnscheduleFromRunLoop(theHost corefoundation.CFHostRef, runLoop corefoundation.CFRunLoopRef, ...)
- func CFNetDiagnosticCopyNetworkStatusPassively(details corefoundation.CFNetDiagnosticRef, description unsafe.Pointer) int
- func CFNetDiagnosticCreateWithStreams(alloc corefoundation.CFAllocatorRef, readStream corefoundation.CFReadStreamRef, ...) corefoundation.CFNetDiagnosticRef
- func CFNetDiagnosticCreateWithURL(alloc corefoundation.CFAllocatorRef, url corefoundation.CFURLRef) corefoundation.CFNetDiagnosticRef
- func CFNetDiagnosticDiagnoseProblemInteractively(details corefoundation.CFNetDiagnosticRef) int
- func CFNetDiagnosticSetName(details corefoundation.CFNetDiagnosticRef, name corefoundation.CFStringRef)
- func CFNetServiceBrowserCreate(alloc corefoundation.CFAllocatorRef, clientCB unsafe.Pointer, ...) corefoundation.CFNetServiceBrowserRef
- func CFNetServiceBrowserGetTypeID() int
- func CFNetServiceBrowserInvalidate(browser corefoundation.CFNetServiceBrowserRef)
- func CFNetServiceBrowserScheduleWithRunLoop(browser corefoundation.CFNetServiceBrowserRef, ...)
- func CFNetServiceBrowserSearchForDomains(browser corefoundation.CFNetServiceBrowserRef, registrationDomains uint8, ...) uint8
- func CFNetServiceBrowserSearchForServices(browser corefoundation.CFNetServiceBrowserRef, ...) uint8
- func CFNetServiceBrowserStopSearch(browser corefoundation.CFNetServiceBrowserRef, ...)
- func CFNetServiceBrowserUnscheduleFromRunLoop(browser corefoundation.CFNetServiceBrowserRef, ...)
- func CFNetServiceCancel(theService corefoundation.CFNetServiceRef)
- func CFNetServiceCreate(alloc corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, ...) corefoundation.CFNetServiceRef
- func CFNetServiceCreateCopy(alloc corefoundation.CFAllocatorRef, service corefoundation.CFNetServiceRef) corefoundation.CFNetServiceRef
- func CFNetServiceCreateDictionaryWithTXTData(alloc corefoundation.CFAllocatorRef, txtRecord corefoundation.CFDataRef) corefoundation.CFDictionaryRef
- func CFNetServiceCreateTXTDataWithDictionary(alloc corefoundation.CFAllocatorRef, ...) corefoundation.CFDataRef
- func CFNetServiceGetAddressing(theService corefoundation.CFNetServiceRef) corefoundation.CFArrayRef
- func CFNetServiceGetDomain(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef
- func CFNetServiceGetName(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef
- func CFNetServiceGetPortNumber(theService corefoundation.CFNetServiceRef) int
- func CFNetServiceGetTXTData(theService corefoundation.CFNetServiceRef) corefoundation.CFDataRef
- func CFNetServiceGetTargetHost(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef
- func CFNetServiceGetType(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef
- func CFNetServiceGetTypeID() int
- func CFNetServiceMonitorCreate(alloc corefoundation.CFAllocatorRef, theService corefoundation.CFNetServiceRef, ...) corefoundation.CFNetServiceMonitorRef
- func CFNetServiceMonitorGetTypeID() int
- func CFNetServiceMonitorInvalidate(monitor corefoundation.CFNetServiceMonitorRef)
- func CFNetServiceMonitorScheduleWithRunLoop(monitor corefoundation.CFNetServiceMonitorRef, ...)
- func CFNetServiceMonitorStart(monitor corefoundation.CFNetServiceMonitorRef, ...) uint8
- func CFNetServiceMonitorStop(monitor corefoundation.CFNetServiceMonitorRef, ...)
- func CFNetServiceMonitorUnscheduleFromRunLoop(monitor corefoundation.CFNetServiceMonitorRef, ...)
- func CFNetServiceRegister(theService corefoundation.CFNetServiceRef, err *corefoundation.CFStreamError) uint8
- func CFNetServiceRegisterWithOptions(theService corefoundation.CFNetServiceRef, options int, ...) uint8
- func CFNetServiceResolve(theService corefoundation.CFNetServiceRef, err *corefoundation.CFStreamError) uint8
- func CFNetServiceResolveWithTimeout(theService corefoundation.CFNetServiceRef, timeout float64, ...) uint8
- func CFNetServiceScheduleWithRunLoop(theService corefoundation.CFNetServiceRef, runLoop corefoundation.CFRunLoopRef, ...)
- func CFNetServiceSetClient(theService corefoundation.CFNetServiceRef, clientCB unsafe.Pointer, ...) uint8
- func CFNetServiceSetTXTData(theService corefoundation.CFNetServiceRef, txtRecord corefoundation.CFDataRef) uint8
- func CFNetServiceUnscheduleFromRunLoop(theService corefoundation.CFNetServiceRef, runLoop corefoundation.CFRunLoopRef, ...)
- func CFNetworkCopyProxiesForAutoConfigurationScript(proxyAutoConfigurationScript corefoundation.CFStringRef, ...) (obj.Object, error)
- func CFNetworkCopyProxiesForURL(url corefoundation.CFURLRef, proxySettings corefoundation.CFDictionaryRef) corefoundation.CFArrayRef
- func CFNetworkCopySystemProxySettings() corefoundation.CFDictionaryRef
- func CFNetworkExecuteProxyAutoConfigurationScript(proxyAutoConfigurationScript corefoundation.CFStringRef, ...) corefoundation.CFRunLoopSourceRef
- func CFNetworkExecuteProxyAutoConfigurationURL(proxyAutoConfigURL corefoundation.CFURLRef, targetURL corefoundation.CFURLRef, ...) corefoundation.CFRunLoopSourceRef
- func CFReadStreamCreateForHTTPRequest(alloc corefoundation.CFAllocatorRef, request corefoundation.CFHTTPMessageRef) corefoundation.CFReadStreamRef
- func CFReadStreamCreateForStreamedHTTPRequest(alloc corefoundation.CFAllocatorRef, ...) corefoundation.CFReadStreamRef
- func CFReadStreamCreateWithFTPURL(alloc corefoundation.CFAllocatorRef, ftpURL corefoundation.CFURLRef) corefoundation.CFReadStreamRef
- func CFSocketStreamSOCKSGetError(err *corefoundation.CFStreamError) int
- func CFSocketStreamSOCKSGetErrorSubdomain(err *corefoundation.CFStreamError) int
- func CFStreamCreatePairWithSocketToCFHost(alloc corefoundation.CFAllocatorRef, host corefoundation.CFHostRef, port int, ...)
- func CFStreamCreatePairWithSocketToNetService(alloc corefoundation.CFAllocatorRef, service corefoundation.CFNetServiceRef, ...)
- func CFWriteStreamCreateWithFTPURL(alloc corefoundation.CFAllocatorRef, ftpURL corefoundation.CFURLRef) corefoundation.CFWriteStreamRef
- func KCFDNSServiceFailureKey() obj.Object
- func KCFErrorDomainCFNetwork() obj.Object
- func KCFErrorDomainWinSock() obj.Object
- func KCFFTPResourceGroup() obj.Object
- func KCFFTPResourceLink() obj.Object
- func KCFFTPResourceModDate() obj.Object
- func KCFFTPResourceMode() obj.Object
- func KCFFTPResourceName() obj.Object
- func KCFFTPResourceOwner() obj.Object
- func KCFFTPResourceSize() obj.Object
- func KCFFTPResourceType() obj.Object
- func KCFFTPStatusCodeKey() obj.Object
- func KCFGetAddrInfoFailureKey() obj.Object
- func KCFHTTPAuthenticationAccountDomain() obj.Object
- func KCFHTTPAuthenticationPassword() obj.Object
- func KCFHTTPAuthenticationSchemeBasic() obj.Object
- func KCFHTTPAuthenticationSchemeDigest() obj.Object
- func KCFHTTPAuthenticationSchemeKerberos() obj.Object
- func KCFHTTPAuthenticationSchemeNTLM() obj.Object
- func KCFHTTPAuthenticationSchemeNegotiate() obj.Object
- func KCFHTTPAuthenticationSchemeNegotiate2() obj.Object
- func KCFHTTPAuthenticationSchemeXMobileMeAuthToken() obj.Object
- func KCFHTTPAuthenticationUsername() obj.Object
- func KCFHTTPVersion1_0() obj.Object
- func KCFHTTPVersion1_1() obj.Object
- func KCFHTTPVersion2_0() obj.Object
- func KCFHTTPVersion3_0() obj.Object
- func KCFNetworkProxiesExceptionsList() obj.Object
- func KCFNetworkProxiesExcludeSimpleHostnames() obj.Object
- func KCFNetworkProxiesFTPEnable() obj.Object
- func KCFNetworkProxiesFTPPassive() obj.Object
- func KCFNetworkProxiesFTPPort() obj.Object
- func KCFNetworkProxiesFTPProxy() obj.Object
- func KCFNetworkProxiesGopherEnable() obj.Object
- func KCFNetworkProxiesGopherPort() obj.Object
- func KCFNetworkProxiesGopherProxy() obj.Object
- func KCFNetworkProxiesHTTPEnable() obj.Object
- func KCFNetworkProxiesHTTPPort() obj.Object
- func KCFNetworkProxiesHTTPProxy() obj.Object
- func KCFNetworkProxiesHTTPSEnable() obj.Object
- func KCFNetworkProxiesHTTPSPort() obj.Object
- func KCFNetworkProxiesHTTPSProxy() obj.Object
- func KCFNetworkProxiesProxyAutoConfigEnable() obj.Object
- func KCFNetworkProxiesProxyAutoConfigJavaScript() obj.Object
- func KCFNetworkProxiesProxyAutoConfigURLString() obj.Object
- func KCFNetworkProxiesProxyAutoDiscoveryEnable() obj.Object
- func KCFNetworkProxiesRTSPEnable() obj.Object
- func KCFNetworkProxiesRTSPPort() obj.Object
- func KCFNetworkProxiesRTSPProxy() obj.Object
- func KCFNetworkProxiesSOCKSEnable() obj.Object
- func KCFNetworkProxiesSOCKSPort() obj.Object
- func KCFNetworkProxiesSOCKSProxy() obj.Object
- func KCFProxyAutoConfigurationHTTPResponseKey() obj.Object
- func KCFProxyAutoConfigurationJavaScriptKey() obj.Object
- func KCFProxyAutoConfigurationURLKey() obj.Object
- func KCFProxyHostNameKey() obj.Object
- func KCFProxyPasswordKey() obj.Object
- func KCFProxyPortNumberKey() obj.Object
- func KCFProxyTypeAutoConfigurationJavaScript() obj.Object
- func KCFProxyTypeAutoConfigurationURL() obj.Object
- func KCFProxyTypeFTP() obj.Object
- func KCFProxyTypeHTTP() obj.Object
- func KCFProxyTypeHTTPS() obj.Object
- func KCFProxyTypeKey() obj.Object
- func KCFProxyTypeNone() obj.Object
- func KCFProxyTypeSOCKS() obj.Object
- func KCFProxyUsernameKey() obj.Object
- func KCFSOCKSNegotiationMethodKey() obj.Object
- func KCFSOCKSStatusCodeKey() obj.Object
- func KCFSOCKSVersionKey() obj.Object
- func KCFStreamErrorDomainFTP() int
- func KCFStreamErrorDomainHTTP() int
- func KCFStreamErrorDomainMach() int
- func KCFStreamErrorDomainNetDB() int
- func KCFStreamErrorDomainNetServices() int
- func KCFStreamErrorDomainSystemConfiguration() int
- func KCFStreamErrorDomainWinSock() int
- func KCFStreamNetworkServiceType() obj.Object
- func KCFStreamNetworkServiceTypeAVStreaming() obj.Object
- func KCFStreamNetworkServiceTypeBackground() obj.Object
- func KCFStreamNetworkServiceTypeCallSignaling() obj.Object
- func KCFStreamNetworkServiceTypeResponsiveAV() obj.Object
- func KCFStreamNetworkServiceTypeResponsiveData() obj.Object
- func KCFStreamNetworkServiceTypeVideo() obj.Object
- func KCFStreamNetworkServiceTypeVoIP() obj.Object
- func KCFStreamNetworkServiceTypeVoice() obj.Object
- func KCFStreamPropertyAllowConstrainedNetworkAccess() obj.Object
- func KCFStreamPropertyAllowExpensiveNetworkAccess() obj.Object
- func KCFStreamPropertyConnectionIsCellular() obj.Object
- func KCFStreamPropertyConnectionIsExpensive() obj.Object
- func KCFStreamPropertyFTPAttemptPersistentConnection() obj.Object
- func KCFStreamPropertyFTPFetchResourceInfo() obj.Object
- func KCFStreamPropertyFTPFileTransferOffset() obj.Object
- func KCFStreamPropertyFTPPassword() obj.Object
- func KCFStreamPropertyFTPProxy() obj.Object
- func KCFStreamPropertyFTPProxyHost() obj.Object
- func KCFStreamPropertyFTPProxyPassword() obj.Object
- func KCFStreamPropertyFTPProxyPort() obj.Object
- func KCFStreamPropertyFTPProxyUser() obj.Object
- func KCFStreamPropertyFTPResourceSize() obj.Object
- func KCFStreamPropertyFTPUsePassiveMode() obj.Object
- func KCFStreamPropertyFTPUserName() obj.Object
- func KCFStreamPropertyHTTPAttemptPersistentConnection() obj.Object
- func KCFStreamPropertyHTTPFinalRequest() obj.Object
- func KCFStreamPropertyHTTPFinalURL() obj.Object
- func KCFStreamPropertyHTTPProxy() obj.Object
- func KCFStreamPropertyHTTPProxyHost() obj.Object
- func KCFStreamPropertyHTTPProxyPort() obj.Object
- func KCFStreamPropertyHTTPRequestBytesWrittenCount() obj.Object
- func KCFStreamPropertyHTTPResponseHeader() obj.Object
- func KCFStreamPropertyHTTPSProxyHost() obj.Object
- func KCFStreamPropertyHTTPSProxyPort() obj.Object
- func KCFStreamPropertyHTTPShouldAutoredirect() obj.Object
- func KCFStreamPropertyNoCellular() obj.Object
- func KCFStreamPropertyProxyLocalBypass() obj.Object
- func KCFStreamPropertySSLContext() obj.Object
- func KCFStreamPropertySSLPeerCertificates() obj.Object
- func KCFStreamPropertySSLPeerTrust() obj.Object
- func KCFStreamPropertySSLSettings() obj.Object
- func KCFStreamPropertySocketExtendedBackgroundIdleMode() obj.Object
- func KCFStreamPropertySocketRemoteHost() obj.Object
- func KCFStreamPropertySocketRemoteNetService() obj.Object
- func KCFStreamSSLAllowsAnyRoot() obj.Object
- func KCFStreamSSLAllowsExpiredCertificates() obj.Object
- func KCFStreamSSLAllowsExpiredRoots() obj.Object
- func KCFStreamSSLCertificates() obj.Object
- func KCFStreamSSLIsServer() obj.Object
- func KCFStreamSSLLevel() obj.Object
- func KCFStreamSSLPeerName() obj.Object
- func KCFStreamSSLValidatesCertificateChain() obj.Object
- func KCFURLErrorFailingURLErrorKey() obj.Object
- func KCFURLErrorFailingURLStringErrorKey() obj.Object
- type CFHTTPAuthentication
- type CFHTTPMessage
- type CFHost
- type CFHostClientContext
- type CFHostInfoType
- type CFNetDiagnostic
- type CFNetDiagnosticStatusValues
- type CFNetService
- type CFNetServiceBrowser
- type CFNetServiceBrowserFlags
- type CFNetServiceClientContext
- type CFNetServiceMonitor
- type CFNetServiceMonitorType
- type CFNetServiceRegisterFlags
- type CFNetServicesError
- type CFNetworkErrors
- type CFStreamErrorHTTP
- type CFStreamErrorHTTPAuthentication
- type Clockid
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type FilesecProperty
- type Flag
- type Idtype
- type MpoFlags
- type OSClockid
- type Perm
- type PtrauthKey
- type QosClass
- type Tag
- type Type
Constants ¶
const ( KCFStreamErrorSOCKS4IdConflict = 93 KCFStreamErrorSOCKS4IdentdFailed = 92 KCFStreamErrorSOCKS4RequestFailed = 91 KCFStreamErrorSOCKS4SubDomainResponse = 2 KCFStreamErrorSOCKS5BadResponseAddr = 1 KCFStreamErrorSOCKS5BadState = 2 KCFStreamErrorSOCKS5SubDomainMethod = 4 KCFStreamErrorSOCKS5SubDomainResponse = 5 KCFStreamErrorSOCKS5SubDomainUserPass = 3 KCFStreamErrorSOCKSSubDomainNone = 0 KCFStreamErrorSOCKSSubDomainVersionCode = 1 KCFStreamErrorSOCKSUnknownClientVersion = 3 KSOCKS5NoAcceptableMethod = 255 )
Variables ¶
This section is empty.
Functions ¶
func CFFTPCreateParsedResourceListing ¶
func CFFTPCreateParsedResourceListing(alloc corefoundation.CFAllocatorRef, buffer unsafe.Pointer, bufferLength int, parsed unsafe.Pointer) int
CFFTPCreateParsedResourceListing calls the CFNetwork framework function CFFTPCreateParsedResourceListing.
func CFHTTPAuthenticationAppliesToRequest ¶
func CFHTTPAuthenticationAppliesToRequest(auth corefoundation.CFHTTPAuthenticationRef, request corefoundation.CFHTTPMessageRef) uint8
CFHTTPAuthenticationAppliesToRequest calls the CFNetwork framework function CFHTTPAuthenticationAppliesToRequest.
func CFHTTPAuthenticationCopyDomains ¶
func CFHTTPAuthenticationCopyDomains(auth corefoundation.CFHTTPAuthenticationRef) corefoundation.CFArrayRef
CFHTTPAuthenticationCopyDomains calls the CFNetwork framework function CFHTTPAuthenticationCopyDomains.
func CFHTTPAuthenticationCopyMethod ¶
func CFHTTPAuthenticationCopyMethod(auth corefoundation.CFHTTPAuthenticationRef) corefoundation.CFStringRef
CFHTTPAuthenticationCopyMethod calls the CFNetwork framework function CFHTTPAuthenticationCopyMethod.
func CFHTTPAuthenticationCopyRealm ¶
func CFHTTPAuthenticationCopyRealm(auth corefoundation.CFHTTPAuthenticationRef) corefoundation.CFStringRef
CFHTTPAuthenticationCopyRealm calls the CFNetwork framework function CFHTTPAuthenticationCopyRealm.
func CFHTTPAuthenticationCreateFromResponse ¶
func CFHTTPAuthenticationCreateFromResponse(alloc corefoundation.CFAllocatorRef, response corefoundation.CFHTTPMessageRef) corefoundation.CFHTTPAuthenticationRef
CFHTTPAuthenticationCreateFromResponse calls the CFNetwork framework function CFHTTPAuthenticationCreateFromResponse.
func CFHTTPAuthenticationGetTypeID ¶
func CFHTTPAuthenticationGetTypeID() int
CFHTTPAuthenticationGetTypeID calls the CFNetwork framework function CFHTTPAuthenticationGetTypeID.
func CFHTTPAuthenticationIsValid ¶
func CFHTTPAuthenticationIsValid(auth corefoundation.CFHTTPAuthenticationRef, err *corefoundation.CFStreamError) uint8
CFHTTPAuthenticationIsValid calls the CFNetwork framework function CFHTTPAuthenticationIsValid.
func CFHTTPAuthenticationRequiresAccountDomain ¶
func CFHTTPAuthenticationRequiresAccountDomain(auth corefoundation.CFHTTPAuthenticationRef) uint8
CFHTTPAuthenticationRequiresAccountDomain calls the CFNetwork framework function CFHTTPAuthenticationRequiresAccountDomain.
func CFHTTPAuthenticationRequiresOrderedRequests ¶
func CFHTTPAuthenticationRequiresOrderedRequests(auth corefoundation.CFHTTPAuthenticationRef) uint8
CFHTTPAuthenticationRequiresOrderedRequests calls the CFNetwork framework function CFHTTPAuthenticationRequiresOrderedRequests.
func CFHTTPAuthenticationRequiresUserNameAndPassword ¶
func CFHTTPAuthenticationRequiresUserNameAndPassword(auth corefoundation.CFHTTPAuthenticationRef) uint8
CFHTTPAuthenticationRequiresUserNameAndPassword calls the CFNetwork framework function CFHTTPAuthenticationRequiresUserNameAndPassword.
func CFHTTPMessageAddAuthentication ¶
func CFHTTPMessageAddAuthentication(request corefoundation.CFHTTPMessageRef, authenticationFailureResponse corefoundation.CFHTTPMessageRef, username corefoundation.CFStringRef, password corefoundation.CFStringRef, authenticationScheme corefoundation.CFStringRef, forProxy uint8) uint8
CFHTTPMessageAddAuthentication calls the CFNetwork framework function CFHTTPMessageAddAuthentication.
func CFHTTPMessageAppendBytes ¶
func CFHTTPMessageAppendBytes(message corefoundation.CFHTTPMessageRef, newBytes unsafe.Pointer, numBytes int) uint8
CFHTTPMessageAppendBytes calls the CFNetwork framework function CFHTTPMessageAppendBytes.
func CFHTTPMessageApplyCredentialDictionary ¶
func CFHTTPMessageApplyCredentialDictionary(request corefoundation.CFHTTPMessageRef, auth corefoundation.CFHTTPAuthenticationRef, dict corefoundation.CFDictionaryRef, err *corefoundation.CFStreamError) uint8
CFHTTPMessageApplyCredentialDictionary calls the CFNetwork framework function CFHTTPMessageApplyCredentialDictionary.
func CFHTTPMessageApplyCredentials ¶
func CFHTTPMessageApplyCredentials(request corefoundation.CFHTTPMessageRef, auth corefoundation.CFHTTPAuthenticationRef, username corefoundation.CFStringRef, password corefoundation.CFStringRef, err *corefoundation.CFStreamError) uint8
CFHTTPMessageApplyCredentials calls the CFNetwork framework function CFHTTPMessageApplyCredentials.
func CFHTTPMessageCopyAllHeaderFields ¶
func CFHTTPMessageCopyAllHeaderFields(message corefoundation.CFHTTPMessageRef) corefoundation.CFDictionaryRef
CFHTTPMessageCopyAllHeaderFields calls the CFNetwork framework function CFHTTPMessageCopyAllHeaderFields.
func CFHTTPMessageCopyBody ¶
func CFHTTPMessageCopyBody(message corefoundation.CFHTTPMessageRef) corefoundation.CFDataRef
CFHTTPMessageCopyBody calls the CFNetwork framework function CFHTTPMessageCopyBody.
func CFHTTPMessageCopyHeaderFieldValue ¶
func CFHTTPMessageCopyHeaderFieldValue(message corefoundation.CFHTTPMessageRef, headerField corefoundation.CFStringRef) corefoundation.CFStringRef
CFHTTPMessageCopyHeaderFieldValue calls the CFNetwork framework function CFHTTPMessageCopyHeaderFieldValue.
func CFHTTPMessageCopyRequestMethod ¶
func CFHTTPMessageCopyRequestMethod(request corefoundation.CFHTTPMessageRef) corefoundation.CFStringRef
CFHTTPMessageCopyRequestMethod calls the CFNetwork framework function CFHTTPMessageCopyRequestMethod.
func CFHTTPMessageCopyRequestURL ¶
func CFHTTPMessageCopyRequestURL(request corefoundation.CFHTTPMessageRef) corefoundation.CFURLRef
CFHTTPMessageCopyRequestURL calls the CFNetwork framework function CFHTTPMessageCopyRequestURL.
func CFHTTPMessageCopyResponseStatusLine ¶
func CFHTTPMessageCopyResponseStatusLine(response corefoundation.CFHTTPMessageRef) corefoundation.CFStringRef
CFHTTPMessageCopyResponseStatusLine calls the CFNetwork framework function CFHTTPMessageCopyResponseStatusLine.
func CFHTTPMessageCopySerializedMessage ¶
func CFHTTPMessageCopySerializedMessage(message corefoundation.CFHTTPMessageRef) corefoundation.CFDataRef
CFHTTPMessageCopySerializedMessage calls the CFNetwork framework function CFHTTPMessageCopySerializedMessage.
func CFHTTPMessageCopyVersion ¶
func CFHTTPMessageCopyVersion(message corefoundation.CFHTTPMessageRef) corefoundation.CFStringRef
CFHTTPMessageCopyVersion calls the CFNetwork framework function CFHTTPMessageCopyVersion.
func CFHTTPMessageCreateCopy ¶
func CFHTTPMessageCreateCopy(alloc corefoundation.CFAllocatorRef, message corefoundation.CFHTTPMessageRef) corefoundation.CFHTTPMessageRef
CFHTTPMessageCreateCopy calls the CFNetwork framework function CFHTTPMessageCreateCopy.
func CFHTTPMessageCreateEmpty ¶
func CFHTTPMessageCreateEmpty(alloc corefoundation.CFAllocatorRef, isRequest uint8) corefoundation.CFHTTPMessageRef
CFHTTPMessageCreateEmpty calls the CFNetwork framework function CFHTTPMessageCreateEmpty.
func CFHTTPMessageCreateRequest ¶
func CFHTTPMessageCreateRequest(alloc corefoundation.CFAllocatorRef, requestMethod corefoundation.CFStringRef, url corefoundation.CFURLRef, httpVersion corefoundation.CFStringRef) corefoundation.CFHTTPMessageRef
CFHTTPMessageCreateRequest calls the CFNetwork framework function CFHTTPMessageCreateRequest.
func CFHTTPMessageCreateResponse ¶
func CFHTTPMessageCreateResponse(alloc corefoundation.CFAllocatorRef, statusCode int, statusDescription corefoundation.CFStringRef, httpVersion corefoundation.CFStringRef) corefoundation.CFHTTPMessageRef
CFHTTPMessageCreateResponse calls the CFNetwork framework function CFHTTPMessageCreateResponse.
func CFHTTPMessageGetResponseStatusCode ¶
func CFHTTPMessageGetResponseStatusCode(response corefoundation.CFHTTPMessageRef) int
CFHTTPMessageGetResponseStatusCode calls the CFNetwork framework function CFHTTPMessageGetResponseStatusCode.
func CFHTTPMessageGetTypeID ¶
func CFHTTPMessageGetTypeID() int
CFHTTPMessageGetTypeID calls the CFNetwork framework function CFHTTPMessageGetTypeID.
func CFHTTPMessageIsHeaderComplete ¶
func CFHTTPMessageIsHeaderComplete(message corefoundation.CFHTTPMessageRef) uint8
CFHTTPMessageIsHeaderComplete calls the CFNetwork framework function CFHTTPMessageIsHeaderComplete.
func CFHTTPMessageIsRequest ¶
func CFHTTPMessageIsRequest(message corefoundation.CFHTTPMessageRef) uint8
CFHTTPMessageIsRequest calls the CFNetwork framework function CFHTTPMessageIsRequest.
func CFHTTPMessageSetBody ¶
func CFHTTPMessageSetBody(message corefoundation.CFHTTPMessageRef, bodyData corefoundation.CFDataRef)
CFHTTPMessageSetBody calls the CFNetwork framework function CFHTTPMessageSetBody.
func CFHTTPMessageSetHeaderFieldValue ¶
func CFHTTPMessageSetHeaderFieldValue(message corefoundation.CFHTTPMessageRef, headerField corefoundation.CFStringRef, value corefoundation.CFStringRef)
CFHTTPMessageSetHeaderFieldValue calls the CFNetwork framework function CFHTTPMessageSetHeaderFieldValue.
func CFHostCancelInfoResolution ¶
func CFHostCancelInfoResolution(theHost corefoundation.CFHostRef, info CFHostInfoType)
CFHostCancelInfoResolution calls the CFNetwork framework function CFHostCancelInfoResolution.
func CFHostCreateCopy ¶
func CFHostCreateCopy(alloc corefoundation.CFAllocatorRef, host corefoundation.CFHostRef) corefoundation.CFHostRef
CFHostCreateCopy calls the CFNetwork framework function CFHostCreateCopy.
func CFHostCreateWithAddress ¶
func CFHostCreateWithAddress(allocator corefoundation.CFAllocatorRef, addr corefoundation.CFDataRef) corefoundation.CFHostRef
CFHostCreateWithAddress calls the CFNetwork framework function CFHostCreateWithAddress.
func CFHostCreateWithName ¶
func CFHostCreateWithName(allocator corefoundation.CFAllocatorRef, hostname corefoundation.CFStringRef) corefoundation.CFHostRef
CFHostCreateWithName calls the CFNetwork framework function CFHostCreateWithName.
func CFHostGetAddressing ¶
func CFHostGetAddressing(theHost corefoundation.CFHostRef) (result corefoundation.CFArrayRef, hasBeenResolved uint8)
CFHostGetAddressing calls the CFNetwork framework function CFHostGetAddressing.
func CFHostGetNames ¶
func CFHostGetNames(theHost corefoundation.CFHostRef) (result corefoundation.CFArrayRef, hasBeenResolved uint8)
CFHostGetNames calls the CFNetwork framework function CFHostGetNames.
func CFHostGetReachability ¶
func CFHostGetReachability(theHost corefoundation.CFHostRef) (result corefoundation.CFDataRef, hasBeenResolved uint8)
CFHostGetReachability calls the CFNetwork framework function CFHostGetReachability.
func CFHostGetTypeID ¶
func CFHostGetTypeID() int
CFHostGetTypeID calls the CFNetwork framework function CFHostGetTypeID.
func CFHostScheduleWithRunLoop ¶
func CFHostScheduleWithRunLoop(theHost corefoundation.CFHostRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)
CFHostScheduleWithRunLoop calls the CFNetwork framework function CFHostScheduleWithRunLoop.
func CFHostSetClient ¶
func CFHostSetClient(theHost corefoundation.CFHostRef, clientCB unsafe.Pointer, clientContext unsafe.Pointer) uint8
CFHostSetClient calls the CFNetwork framework function CFHostSetClient.
func CFHostStartInfoResolution ¶
func CFHostStartInfoResolution(theHost corefoundation.CFHostRef, info CFHostInfoType, err *corefoundation.CFStreamError) uint8
CFHostStartInfoResolution calls the CFNetwork framework function CFHostStartInfoResolution.
func CFHostUnscheduleFromRunLoop ¶
func CFHostUnscheduleFromRunLoop(theHost corefoundation.CFHostRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)
CFHostUnscheduleFromRunLoop calls the CFNetwork framework function CFHostUnscheduleFromRunLoop.
func CFNetDiagnosticCopyNetworkStatusPassively ¶
func CFNetDiagnosticCopyNetworkStatusPassively(details corefoundation.CFNetDiagnosticRef, description unsafe.Pointer) int
CFNetDiagnosticCopyNetworkStatusPassively calls the CFNetwork framework function CFNetDiagnosticCopyNetworkStatusPassively.
func CFNetDiagnosticCreateWithStreams ¶
func CFNetDiagnosticCreateWithStreams(alloc corefoundation.CFAllocatorRef, readStream corefoundation.CFReadStreamRef, writeStream corefoundation.CFWriteStreamRef) corefoundation.CFNetDiagnosticRef
CFNetDiagnosticCreateWithStreams calls the CFNetwork framework function CFNetDiagnosticCreateWithStreams.
func CFNetDiagnosticCreateWithURL ¶
func CFNetDiagnosticCreateWithURL(alloc corefoundation.CFAllocatorRef, url corefoundation.CFURLRef) corefoundation.CFNetDiagnosticRef
CFNetDiagnosticCreateWithURL calls the CFNetwork framework function CFNetDiagnosticCreateWithURL.
func CFNetDiagnosticDiagnoseProblemInteractively ¶
func CFNetDiagnosticDiagnoseProblemInteractively(details corefoundation.CFNetDiagnosticRef) int
CFNetDiagnosticDiagnoseProblemInteractively calls the CFNetwork framework function CFNetDiagnosticDiagnoseProblemInteractively.
func CFNetDiagnosticSetName ¶
func CFNetDiagnosticSetName(details corefoundation.CFNetDiagnosticRef, name corefoundation.CFStringRef)
CFNetDiagnosticSetName calls the CFNetwork framework function CFNetDiagnosticSetName.
func CFNetServiceBrowserCreate ¶
func CFNetServiceBrowserCreate(alloc corefoundation.CFAllocatorRef, clientCB unsafe.Pointer, clientContext unsafe.Pointer) corefoundation.CFNetServiceBrowserRef
CFNetServiceBrowserCreate calls the CFNetwork framework function CFNetServiceBrowserCreate.
func CFNetServiceBrowserGetTypeID ¶
func CFNetServiceBrowserGetTypeID() int
CFNetServiceBrowserGetTypeID calls the CFNetwork framework function CFNetServiceBrowserGetTypeID.
func CFNetServiceBrowserInvalidate ¶
func CFNetServiceBrowserInvalidate(browser corefoundation.CFNetServiceBrowserRef)
CFNetServiceBrowserInvalidate calls the CFNetwork framework function CFNetServiceBrowserInvalidate.
func CFNetServiceBrowserScheduleWithRunLoop ¶
func CFNetServiceBrowserScheduleWithRunLoop(browser corefoundation.CFNetServiceBrowserRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)
CFNetServiceBrowserScheduleWithRunLoop calls the CFNetwork framework function CFNetServiceBrowserScheduleWithRunLoop.
func CFNetServiceBrowserSearchForDomains ¶
func CFNetServiceBrowserSearchForDomains(browser corefoundation.CFNetServiceBrowserRef, registrationDomains uint8, err *corefoundation.CFStreamError) uint8
CFNetServiceBrowserSearchForDomains calls the CFNetwork framework function CFNetServiceBrowserSearchForDomains.
func CFNetServiceBrowserSearchForServices ¶
func CFNetServiceBrowserSearchForServices(browser corefoundation.CFNetServiceBrowserRef, domain corefoundation.CFStringRef, serviceType corefoundation.CFStringRef, err *corefoundation.CFStreamError) uint8
CFNetServiceBrowserSearchForServices calls the CFNetwork framework function CFNetServiceBrowserSearchForServices.
func CFNetServiceBrowserStopSearch ¶
func CFNetServiceBrowserStopSearch(browser corefoundation.CFNetServiceBrowserRef, err *corefoundation.CFStreamError)
CFNetServiceBrowserStopSearch calls the CFNetwork framework function CFNetServiceBrowserStopSearch.
func CFNetServiceBrowserUnscheduleFromRunLoop ¶
func CFNetServiceBrowserUnscheduleFromRunLoop(browser corefoundation.CFNetServiceBrowserRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)
CFNetServiceBrowserUnscheduleFromRunLoop calls the CFNetwork framework function CFNetServiceBrowserUnscheduleFromRunLoop.
func CFNetServiceCancel ¶
func CFNetServiceCancel(theService corefoundation.CFNetServiceRef)
CFNetServiceCancel calls the CFNetwork framework function CFNetServiceCancel.
func CFNetServiceCreate ¶
func CFNetServiceCreate(alloc corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, serviceType corefoundation.CFStringRef, name corefoundation.CFStringRef, port int) corefoundation.CFNetServiceRef
CFNetServiceCreate calls the CFNetwork framework function CFNetServiceCreate.
func CFNetServiceCreateCopy ¶
func CFNetServiceCreateCopy(alloc corefoundation.CFAllocatorRef, service corefoundation.CFNetServiceRef) corefoundation.CFNetServiceRef
CFNetServiceCreateCopy calls the CFNetwork framework function CFNetServiceCreateCopy.
func CFNetServiceCreateDictionaryWithTXTData ¶
func CFNetServiceCreateDictionaryWithTXTData(alloc corefoundation.CFAllocatorRef, txtRecord corefoundation.CFDataRef) corefoundation.CFDictionaryRef
CFNetServiceCreateDictionaryWithTXTData calls the CFNetwork framework function CFNetServiceCreateDictionaryWithTXTData.
func CFNetServiceCreateTXTDataWithDictionary ¶
func CFNetServiceCreateTXTDataWithDictionary(alloc corefoundation.CFAllocatorRef, keyValuePairs corefoundation.CFDictionaryRef) corefoundation.CFDataRef
CFNetServiceCreateTXTDataWithDictionary calls the CFNetwork framework function CFNetServiceCreateTXTDataWithDictionary.
func CFNetServiceGetAddressing ¶
func CFNetServiceGetAddressing(theService corefoundation.CFNetServiceRef) corefoundation.CFArrayRef
CFNetServiceGetAddressing calls the CFNetwork framework function CFNetServiceGetAddressing.
func CFNetServiceGetDomain ¶
func CFNetServiceGetDomain(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef
CFNetServiceGetDomain calls the CFNetwork framework function CFNetServiceGetDomain.
func CFNetServiceGetName ¶
func CFNetServiceGetName(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef
CFNetServiceGetName calls the CFNetwork framework function CFNetServiceGetName.
func CFNetServiceGetPortNumber ¶
func CFNetServiceGetPortNumber(theService corefoundation.CFNetServiceRef) int
CFNetServiceGetPortNumber calls the CFNetwork framework function CFNetServiceGetPortNumber.
func CFNetServiceGetTXTData ¶
func CFNetServiceGetTXTData(theService corefoundation.CFNetServiceRef) corefoundation.CFDataRef
CFNetServiceGetTXTData calls the CFNetwork framework function CFNetServiceGetTXTData.
func CFNetServiceGetTargetHost ¶
func CFNetServiceGetTargetHost(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef
CFNetServiceGetTargetHost calls the CFNetwork framework function CFNetServiceGetTargetHost.
func CFNetServiceGetType ¶
func CFNetServiceGetType(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef
CFNetServiceGetType calls the CFNetwork framework function CFNetServiceGetType.
func CFNetServiceGetTypeID ¶
func CFNetServiceGetTypeID() int
CFNetServiceGetTypeID calls the CFNetwork framework function CFNetServiceGetTypeID.
func CFNetServiceMonitorCreate ¶
func CFNetServiceMonitorCreate(alloc corefoundation.CFAllocatorRef, theService corefoundation.CFNetServiceRef, clientCB unsafe.Pointer, clientContext unsafe.Pointer) corefoundation.CFNetServiceMonitorRef
CFNetServiceMonitorCreate calls the CFNetwork framework function CFNetServiceMonitorCreate.
func CFNetServiceMonitorGetTypeID ¶
func CFNetServiceMonitorGetTypeID() int
CFNetServiceMonitorGetTypeID calls the CFNetwork framework function CFNetServiceMonitorGetTypeID.
func CFNetServiceMonitorInvalidate ¶
func CFNetServiceMonitorInvalidate(monitor corefoundation.CFNetServiceMonitorRef)
CFNetServiceMonitorInvalidate calls the CFNetwork framework function CFNetServiceMonitorInvalidate.
func CFNetServiceMonitorScheduleWithRunLoop ¶
func CFNetServiceMonitorScheduleWithRunLoop(monitor corefoundation.CFNetServiceMonitorRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)
CFNetServiceMonitorScheduleWithRunLoop calls the CFNetwork framework function CFNetServiceMonitorScheduleWithRunLoop.
func CFNetServiceMonitorStart ¶
func CFNetServiceMonitorStart(monitor corefoundation.CFNetServiceMonitorRef, recordType CFNetServiceMonitorType, err *corefoundation.CFStreamError) uint8
CFNetServiceMonitorStart calls the CFNetwork framework function CFNetServiceMonitorStart.
func CFNetServiceMonitorStop ¶
func CFNetServiceMonitorStop(monitor corefoundation.CFNetServiceMonitorRef, err *corefoundation.CFStreamError)
CFNetServiceMonitorStop calls the CFNetwork framework function CFNetServiceMonitorStop.
func CFNetServiceMonitorUnscheduleFromRunLoop ¶
func CFNetServiceMonitorUnscheduleFromRunLoop(monitor corefoundation.CFNetServiceMonitorRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)
CFNetServiceMonitorUnscheduleFromRunLoop calls the CFNetwork framework function CFNetServiceMonitorUnscheduleFromRunLoop.
func CFNetServiceRegister ¶
func CFNetServiceRegister(theService corefoundation.CFNetServiceRef, err *corefoundation.CFStreamError) uint8
CFNetServiceRegister calls the CFNetwork framework function CFNetServiceRegister.
func CFNetServiceRegisterWithOptions ¶
func CFNetServiceRegisterWithOptions(theService corefoundation.CFNetServiceRef, options int, err *corefoundation.CFStreamError) uint8
CFNetServiceRegisterWithOptions calls the CFNetwork framework function CFNetServiceRegisterWithOptions.
func CFNetServiceResolve ¶
func CFNetServiceResolve(theService corefoundation.CFNetServiceRef, err *corefoundation.CFStreamError) uint8
CFNetServiceResolve calls the CFNetwork framework function CFNetServiceResolve.
func CFNetServiceResolveWithTimeout ¶
func CFNetServiceResolveWithTimeout(theService corefoundation.CFNetServiceRef, timeout float64, err *corefoundation.CFStreamError) uint8
CFNetServiceResolveWithTimeout calls the CFNetwork framework function CFNetServiceResolveWithTimeout.
func CFNetServiceScheduleWithRunLoop ¶
func CFNetServiceScheduleWithRunLoop(theService corefoundation.CFNetServiceRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)
CFNetServiceScheduleWithRunLoop calls the CFNetwork framework function CFNetServiceScheduleWithRunLoop.
func CFNetServiceSetClient ¶
func CFNetServiceSetClient(theService corefoundation.CFNetServiceRef, clientCB unsafe.Pointer, clientContext unsafe.Pointer) uint8
CFNetServiceSetClient calls the CFNetwork framework function CFNetServiceSetClient.
func CFNetServiceSetTXTData ¶
func CFNetServiceSetTXTData(theService corefoundation.CFNetServiceRef, txtRecord corefoundation.CFDataRef) uint8
CFNetServiceSetTXTData calls the CFNetwork framework function CFNetServiceSetTXTData.
func CFNetServiceUnscheduleFromRunLoop ¶
func CFNetServiceUnscheduleFromRunLoop(theService corefoundation.CFNetServiceRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)
CFNetServiceUnscheduleFromRunLoop calls the CFNetwork framework function CFNetServiceUnscheduleFromRunLoop.
func CFNetworkCopyProxiesForAutoConfigurationScript ¶
func CFNetworkCopyProxiesForAutoConfigurationScript(proxyAutoConfigurationScript corefoundation.CFStringRef, targetURL corefoundation.CFURLRef) (obj.Object, error)
func CFNetworkCopyProxiesForURL ¶
func CFNetworkCopyProxiesForURL(url corefoundation.CFURLRef, proxySettings corefoundation.CFDictionaryRef) corefoundation.CFArrayRef
CFNetworkCopyProxiesForURL calls the CFNetwork framework function CFNetworkCopyProxiesForURL.
func CFNetworkCopySystemProxySettings ¶
func CFNetworkCopySystemProxySettings() corefoundation.CFDictionaryRef
CFNetworkCopySystemProxySettings calls the CFNetwork framework function CFNetworkCopySystemProxySettings.
func CFNetworkExecuteProxyAutoConfigurationScript ¶
func CFNetworkExecuteProxyAutoConfigurationScript(proxyAutoConfigurationScript corefoundation.CFStringRef, targetURL corefoundation.CFURLRef, cb unsafe.Pointer, clientContext unsafe.Pointer) corefoundation.CFRunLoopSourceRef
CFNetworkExecuteProxyAutoConfigurationScript calls the CFNetwork framework function CFNetworkExecuteProxyAutoConfigurationScript.
func CFNetworkExecuteProxyAutoConfigurationURL ¶
func CFNetworkExecuteProxyAutoConfigurationURL(proxyAutoConfigURL corefoundation.CFURLRef, targetURL corefoundation.CFURLRef, cb unsafe.Pointer, clientContext unsafe.Pointer) corefoundation.CFRunLoopSourceRef
CFNetworkExecuteProxyAutoConfigurationURL calls the CFNetwork framework function CFNetworkExecuteProxyAutoConfigurationURL.
func CFReadStreamCreateForHTTPRequest ¶
func CFReadStreamCreateForHTTPRequest(alloc corefoundation.CFAllocatorRef, request corefoundation.CFHTTPMessageRef) corefoundation.CFReadStreamRef
CFReadStreamCreateForHTTPRequest calls the CFNetwork framework function CFReadStreamCreateForHTTPRequest.
func CFReadStreamCreateForStreamedHTTPRequest ¶
func CFReadStreamCreateForStreamedHTTPRequest(alloc corefoundation.CFAllocatorRef, requestHeaders corefoundation.CFHTTPMessageRef, requestBody corefoundation.CFReadStreamRef) corefoundation.CFReadStreamRef
CFReadStreamCreateForStreamedHTTPRequest calls the CFNetwork framework function CFReadStreamCreateForStreamedHTTPRequest.
func CFReadStreamCreateWithFTPURL ¶
func CFReadStreamCreateWithFTPURL(alloc corefoundation.CFAllocatorRef, ftpURL corefoundation.CFURLRef) corefoundation.CFReadStreamRef
CFReadStreamCreateWithFTPURL calls the CFNetwork framework function CFReadStreamCreateWithFTPURL.
func CFSocketStreamSOCKSGetError ¶
func CFSocketStreamSOCKSGetError(err *corefoundation.CFStreamError) int
CFSocketStreamSOCKSGetError calls the CFNetwork framework function CFSocketStreamSOCKSGetError.
func CFSocketStreamSOCKSGetErrorSubdomain ¶
func CFSocketStreamSOCKSGetErrorSubdomain(err *corefoundation.CFStreamError) int
CFSocketStreamSOCKSGetErrorSubdomain calls the CFNetwork framework function CFSocketStreamSOCKSGetErrorSubdomain.
func CFStreamCreatePairWithSocketToCFHost ¶
func CFStreamCreatePairWithSocketToCFHost(alloc corefoundation.CFAllocatorRef, host corefoundation.CFHostRef, port int, readStream unsafe.Pointer, writeStream unsafe.Pointer)
CFStreamCreatePairWithSocketToCFHost calls the CFNetwork framework function CFStreamCreatePairWithSocketToCFHost.
func CFStreamCreatePairWithSocketToNetService ¶
func CFStreamCreatePairWithSocketToNetService(alloc corefoundation.CFAllocatorRef, service corefoundation.CFNetServiceRef, readStream unsafe.Pointer, writeStream unsafe.Pointer)
CFStreamCreatePairWithSocketToNetService calls the CFNetwork framework function CFStreamCreatePairWithSocketToNetService.
func CFWriteStreamCreateWithFTPURL ¶
func CFWriteStreamCreateWithFTPURL(alloc corefoundation.CFAllocatorRef, ftpURL corefoundation.CFURLRef) corefoundation.CFWriteStreamRef
CFWriteStreamCreateWithFTPURL calls the CFNetwork framework function CFWriteStreamCreateWithFTPURL.
func KCFDNSServiceFailureKey ¶
KCFDNSServiceFailureKey returns the value of the constant kCFDNSServiceFailureKey.
func KCFErrorDomainCFNetwork ¶
KCFErrorDomainCFNetwork returns the value of the constant kCFErrorDomainCFNetwork.
func KCFErrorDomainWinSock ¶
KCFErrorDomainWinSock returns the value of the constant kCFErrorDomainWinSock.
func KCFFTPResourceGroup ¶
KCFFTPResourceGroup returns the value of the constant kCFFTPResourceGroup.
func KCFFTPResourceLink ¶
KCFFTPResourceLink returns the value of the constant kCFFTPResourceLink.
func KCFFTPResourceModDate ¶
KCFFTPResourceModDate returns the value of the constant kCFFTPResourceModDate.
func KCFFTPResourceMode ¶
KCFFTPResourceMode returns the value of the constant kCFFTPResourceMode.
func KCFFTPResourceName ¶
KCFFTPResourceName returns the value of the constant kCFFTPResourceName.
func KCFFTPResourceOwner ¶
KCFFTPResourceOwner returns the value of the constant kCFFTPResourceOwner.
func KCFFTPResourceSize ¶
KCFFTPResourceSize returns the value of the constant kCFFTPResourceSize.
func KCFFTPResourceType ¶
KCFFTPResourceType returns the value of the constant kCFFTPResourceType.
func KCFFTPStatusCodeKey ¶
KCFFTPStatusCodeKey returns the value of the constant kCFFTPStatusCodeKey.
func KCFGetAddrInfoFailureKey ¶
KCFGetAddrInfoFailureKey returns the value of the constant kCFGetAddrInfoFailureKey.
func KCFHTTPAuthenticationAccountDomain ¶
KCFHTTPAuthenticationAccountDomain returns the value of the constant kCFHTTPAuthenticationAccountDomain.
func KCFHTTPAuthenticationPassword ¶
KCFHTTPAuthenticationPassword returns the value of the constant kCFHTTPAuthenticationPassword.
func KCFHTTPAuthenticationSchemeBasic ¶
KCFHTTPAuthenticationSchemeBasic returns the value of the constant kCFHTTPAuthenticationSchemeBasic.
func KCFHTTPAuthenticationSchemeDigest ¶
KCFHTTPAuthenticationSchemeDigest returns the value of the constant kCFHTTPAuthenticationSchemeDigest.
func KCFHTTPAuthenticationSchemeKerberos ¶
KCFHTTPAuthenticationSchemeKerberos returns the value of the constant kCFHTTPAuthenticationSchemeKerberos.
func KCFHTTPAuthenticationSchemeNTLM ¶
KCFHTTPAuthenticationSchemeNTLM returns the value of the constant kCFHTTPAuthenticationSchemeNTLM.
func KCFHTTPAuthenticationSchemeNegotiate ¶
KCFHTTPAuthenticationSchemeNegotiate returns the value of the constant kCFHTTPAuthenticationSchemeNegotiate.
func KCFHTTPAuthenticationSchemeNegotiate2 ¶
KCFHTTPAuthenticationSchemeNegotiate2 returns the value of the constant kCFHTTPAuthenticationSchemeNegotiate2.
func KCFHTTPAuthenticationSchemeXMobileMeAuthToken ¶
KCFHTTPAuthenticationSchemeXMobileMeAuthToken returns the value of the constant kCFHTTPAuthenticationSchemeXMobileMeAuthToken.
func KCFHTTPAuthenticationUsername ¶
KCFHTTPAuthenticationUsername returns the value of the constant kCFHTTPAuthenticationUsername.
func KCFHTTPVersion1_0 ¶
KCFHTTPVersion1_0 returns the value of the constant kCFHTTPVersion1_0.
func KCFHTTPVersion1_1 ¶
KCFHTTPVersion1_1 returns the value of the constant kCFHTTPVersion1_1.
func KCFHTTPVersion2_0 ¶
KCFHTTPVersion2_0 returns the value of the constant kCFHTTPVersion2_0.
func KCFHTTPVersion3_0 ¶
KCFHTTPVersion3_0 returns the value of the constant kCFHTTPVersion3_0.
func KCFNetworkProxiesExceptionsList ¶
KCFNetworkProxiesExceptionsList returns the value of the constant kCFNetworkProxiesExceptionsList.
func KCFNetworkProxiesExcludeSimpleHostnames ¶
KCFNetworkProxiesExcludeSimpleHostnames returns the value of the constant kCFNetworkProxiesExcludeSimpleHostnames.
func KCFNetworkProxiesFTPEnable ¶
KCFNetworkProxiesFTPEnable returns the value of the constant kCFNetworkProxiesFTPEnable.
func KCFNetworkProxiesFTPPassive ¶
KCFNetworkProxiesFTPPassive returns the value of the constant kCFNetworkProxiesFTPPassive.
func KCFNetworkProxiesFTPPort ¶
KCFNetworkProxiesFTPPort returns the value of the constant kCFNetworkProxiesFTPPort.
func KCFNetworkProxiesFTPProxy ¶
KCFNetworkProxiesFTPProxy returns the value of the constant kCFNetworkProxiesFTPProxy.
func KCFNetworkProxiesGopherEnable ¶
KCFNetworkProxiesGopherEnable returns the value of the constant kCFNetworkProxiesGopherEnable.
func KCFNetworkProxiesGopherPort ¶
KCFNetworkProxiesGopherPort returns the value of the constant kCFNetworkProxiesGopherPort.
func KCFNetworkProxiesGopherProxy ¶
KCFNetworkProxiesGopherProxy returns the value of the constant kCFNetworkProxiesGopherProxy.
func KCFNetworkProxiesHTTPEnable ¶
KCFNetworkProxiesHTTPEnable returns the value of the constant kCFNetworkProxiesHTTPEnable.
func KCFNetworkProxiesHTTPPort ¶
KCFNetworkProxiesHTTPPort returns the value of the constant kCFNetworkProxiesHTTPPort.
func KCFNetworkProxiesHTTPProxy ¶
KCFNetworkProxiesHTTPProxy returns the value of the constant kCFNetworkProxiesHTTPProxy.
func KCFNetworkProxiesHTTPSEnable ¶
KCFNetworkProxiesHTTPSEnable returns the value of the constant kCFNetworkProxiesHTTPSEnable.
func KCFNetworkProxiesHTTPSPort ¶
KCFNetworkProxiesHTTPSPort returns the value of the constant kCFNetworkProxiesHTTPSPort.
func KCFNetworkProxiesHTTPSProxy ¶
KCFNetworkProxiesHTTPSProxy returns the value of the constant kCFNetworkProxiesHTTPSProxy.
func KCFNetworkProxiesProxyAutoConfigEnable ¶
KCFNetworkProxiesProxyAutoConfigEnable returns the value of the constant kCFNetworkProxiesProxyAutoConfigEnable.
func KCFNetworkProxiesProxyAutoConfigJavaScript ¶
KCFNetworkProxiesProxyAutoConfigJavaScript returns the value of the constant kCFNetworkProxiesProxyAutoConfigJavaScript.
func KCFNetworkProxiesProxyAutoConfigURLString ¶
KCFNetworkProxiesProxyAutoConfigURLString returns the value of the constant kCFNetworkProxiesProxyAutoConfigURLString.
func KCFNetworkProxiesProxyAutoDiscoveryEnable ¶
KCFNetworkProxiesProxyAutoDiscoveryEnable returns the value of the constant kCFNetworkProxiesProxyAutoDiscoveryEnable.
func KCFNetworkProxiesRTSPEnable ¶
KCFNetworkProxiesRTSPEnable returns the value of the constant kCFNetworkProxiesRTSPEnable.
func KCFNetworkProxiesRTSPPort ¶
KCFNetworkProxiesRTSPPort returns the value of the constant kCFNetworkProxiesRTSPPort.
func KCFNetworkProxiesRTSPProxy ¶
KCFNetworkProxiesRTSPProxy returns the value of the constant kCFNetworkProxiesRTSPProxy.
func KCFNetworkProxiesSOCKSEnable ¶
KCFNetworkProxiesSOCKSEnable returns the value of the constant kCFNetworkProxiesSOCKSEnable.
func KCFNetworkProxiesSOCKSPort ¶
KCFNetworkProxiesSOCKSPort returns the value of the constant kCFNetworkProxiesSOCKSPort.
func KCFNetworkProxiesSOCKSProxy ¶
KCFNetworkProxiesSOCKSProxy returns the value of the constant kCFNetworkProxiesSOCKSProxy.
func KCFProxyAutoConfigurationHTTPResponseKey ¶
KCFProxyAutoConfigurationHTTPResponseKey returns the value of the constant kCFProxyAutoConfigurationHTTPResponseKey.
func KCFProxyAutoConfigurationJavaScriptKey ¶
KCFProxyAutoConfigurationJavaScriptKey returns the value of the constant kCFProxyAutoConfigurationJavaScriptKey.
func KCFProxyAutoConfigurationURLKey ¶
KCFProxyAutoConfigurationURLKey returns the value of the constant kCFProxyAutoConfigurationURLKey.
func KCFProxyHostNameKey ¶
KCFProxyHostNameKey returns the value of the constant kCFProxyHostNameKey.
func KCFProxyPasswordKey ¶
KCFProxyPasswordKey returns the value of the constant kCFProxyPasswordKey.
func KCFProxyPortNumberKey ¶
KCFProxyPortNumberKey returns the value of the constant kCFProxyPortNumberKey.
func KCFProxyTypeAutoConfigurationJavaScript ¶
KCFProxyTypeAutoConfigurationJavaScript returns the value of the constant kCFProxyTypeAutoConfigurationJavaScript.
func KCFProxyTypeAutoConfigurationURL ¶
KCFProxyTypeAutoConfigurationURL returns the value of the constant kCFProxyTypeAutoConfigurationURL.
func KCFProxyTypeFTP ¶
KCFProxyTypeFTP returns the value of the constant kCFProxyTypeFTP.
func KCFProxyTypeHTTP ¶
KCFProxyTypeHTTP returns the value of the constant kCFProxyTypeHTTP.
func KCFProxyTypeHTTPS ¶
KCFProxyTypeHTTPS returns the value of the constant kCFProxyTypeHTTPS.
func KCFProxyTypeKey ¶
KCFProxyTypeKey returns the value of the constant kCFProxyTypeKey.
func KCFProxyTypeNone ¶
KCFProxyTypeNone returns the value of the constant kCFProxyTypeNone.
func KCFProxyTypeSOCKS ¶
KCFProxyTypeSOCKS returns the value of the constant kCFProxyTypeSOCKS.
func KCFProxyUsernameKey ¶
KCFProxyUsernameKey returns the value of the constant kCFProxyUsernameKey.
func KCFSOCKSNegotiationMethodKey ¶
KCFSOCKSNegotiationMethodKey returns the value of the constant kCFSOCKSNegotiationMethodKey.
func KCFSOCKSStatusCodeKey ¶
KCFSOCKSStatusCodeKey returns the value of the constant kCFSOCKSStatusCodeKey.
func KCFSOCKSVersionKey ¶
KCFSOCKSVersionKey returns the value of the constant kCFSOCKSVersionKey.
func KCFStreamErrorDomainFTP ¶
func KCFStreamErrorDomainFTP() int
KCFStreamErrorDomainFTP returns the value of the constant kCFStreamErrorDomainFTP.
func KCFStreamErrorDomainHTTP ¶
func KCFStreamErrorDomainHTTP() int
KCFStreamErrorDomainHTTP returns the value of the constant kCFStreamErrorDomainHTTP.
func KCFStreamErrorDomainMach ¶
func KCFStreamErrorDomainMach() int
KCFStreamErrorDomainMach returns the value of the constant kCFStreamErrorDomainMach.
func KCFStreamErrorDomainNetDB ¶
func KCFStreamErrorDomainNetDB() int
KCFStreamErrorDomainNetDB returns the value of the constant kCFStreamErrorDomainNetDB.
func KCFStreamErrorDomainNetServices ¶
func KCFStreamErrorDomainNetServices() int
KCFStreamErrorDomainNetServices returns the value of the constant kCFStreamErrorDomainNetServices.
func KCFStreamErrorDomainSystemConfiguration ¶
func KCFStreamErrorDomainSystemConfiguration() int
KCFStreamErrorDomainSystemConfiguration returns the value of the constant kCFStreamErrorDomainSystemConfiguration.
func KCFStreamErrorDomainWinSock ¶
func KCFStreamErrorDomainWinSock() int
KCFStreamErrorDomainWinSock returns the value of the constant kCFStreamErrorDomainWinSock.
func KCFStreamNetworkServiceType ¶
KCFStreamNetworkServiceType returns the value of the constant kCFStreamNetworkServiceType.
func KCFStreamNetworkServiceTypeAVStreaming ¶
KCFStreamNetworkServiceTypeAVStreaming returns the value of the constant kCFStreamNetworkServiceTypeAVStreaming.
func KCFStreamNetworkServiceTypeBackground ¶
KCFStreamNetworkServiceTypeBackground returns the value of the constant kCFStreamNetworkServiceTypeBackground.
func KCFStreamNetworkServiceTypeCallSignaling ¶
KCFStreamNetworkServiceTypeCallSignaling returns the value of the constant kCFStreamNetworkServiceTypeCallSignaling.
func KCFStreamNetworkServiceTypeResponsiveAV ¶
KCFStreamNetworkServiceTypeResponsiveAV returns the value of the constant kCFStreamNetworkServiceTypeResponsiveAV.
func KCFStreamNetworkServiceTypeResponsiveData ¶
KCFStreamNetworkServiceTypeResponsiveData returns the value of the constant kCFStreamNetworkServiceTypeResponsiveData.
func KCFStreamNetworkServiceTypeVideo ¶
KCFStreamNetworkServiceTypeVideo returns the value of the constant kCFStreamNetworkServiceTypeVideo.
func KCFStreamNetworkServiceTypeVoIP ¶
KCFStreamNetworkServiceTypeVoIP returns the value of the constant kCFStreamNetworkServiceTypeVoIP.
func KCFStreamNetworkServiceTypeVoice ¶
KCFStreamNetworkServiceTypeVoice returns the value of the constant kCFStreamNetworkServiceTypeVoice.
func KCFStreamPropertyAllowConstrainedNetworkAccess ¶
KCFStreamPropertyAllowConstrainedNetworkAccess returns the value of the constant kCFStreamPropertyAllowConstrainedNetworkAccess.
func KCFStreamPropertyAllowExpensiveNetworkAccess ¶
KCFStreamPropertyAllowExpensiveNetworkAccess returns the value of the constant kCFStreamPropertyAllowExpensiveNetworkAccess.
func KCFStreamPropertyConnectionIsCellular ¶
KCFStreamPropertyConnectionIsCellular returns the value of the constant kCFStreamPropertyConnectionIsCellular.
func KCFStreamPropertyConnectionIsExpensive ¶
KCFStreamPropertyConnectionIsExpensive returns the value of the constant kCFStreamPropertyConnectionIsExpensive.
func KCFStreamPropertyFTPAttemptPersistentConnection ¶
KCFStreamPropertyFTPAttemptPersistentConnection returns the value of the constant kCFStreamPropertyFTPAttemptPersistentConnection.
func KCFStreamPropertyFTPFetchResourceInfo ¶
KCFStreamPropertyFTPFetchResourceInfo returns the value of the constant kCFStreamPropertyFTPFetchResourceInfo.
func KCFStreamPropertyFTPFileTransferOffset ¶
KCFStreamPropertyFTPFileTransferOffset returns the value of the constant kCFStreamPropertyFTPFileTransferOffset.
func KCFStreamPropertyFTPPassword ¶
KCFStreamPropertyFTPPassword returns the value of the constant kCFStreamPropertyFTPPassword.
func KCFStreamPropertyFTPProxy ¶
KCFStreamPropertyFTPProxy returns the value of the constant kCFStreamPropertyFTPProxy.
func KCFStreamPropertyFTPProxyHost ¶
KCFStreamPropertyFTPProxyHost returns the value of the constant kCFStreamPropertyFTPProxyHost.
func KCFStreamPropertyFTPProxyPassword ¶
KCFStreamPropertyFTPProxyPassword returns the value of the constant kCFStreamPropertyFTPProxyPassword.
func KCFStreamPropertyFTPProxyPort ¶
KCFStreamPropertyFTPProxyPort returns the value of the constant kCFStreamPropertyFTPProxyPort.
func KCFStreamPropertyFTPProxyUser ¶
KCFStreamPropertyFTPProxyUser returns the value of the constant kCFStreamPropertyFTPProxyUser.
func KCFStreamPropertyFTPResourceSize ¶
KCFStreamPropertyFTPResourceSize returns the value of the constant kCFStreamPropertyFTPResourceSize.
func KCFStreamPropertyFTPUsePassiveMode ¶
KCFStreamPropertyFTPUsePassiveMode returns the value of the constant kCFStreamPropertyFTPUsePassiveMode.
func KCFStreamPropertyFTPUserName ¶
KCFStreamPropertyFTPUserName returns the value of the constant kCFStreamPropertyFTPUserName.
func KCFStreamPropertyHTTPAttemptPersistentConnection ¶
KCFStreamPropertyHTTPAttemptPersistentConnection returns the value of the constant kCFStreamPropertyHTTPAttemptPersistentConnection.
func KCFStreamPropertyHTTPFinalRequest ¶
KCFStreamPropertyHTTPFinalRequest returns the value of the constant kCFStreamPropertyHTTPFinalRequest.
func KCFStreamPropertyHTTPFinalURL ¶
KCFStreamPropertyHTTPFinalURL returns the value of the constant kCFStreamPropertyHTTPFinalURL.
func KCFStreamPropertyHTTPProxy ¶
KCFStreamPropertyHTTPProxy returns the value of the constant kCFStreamPropertyHTTPProxy.
func KCFStreamPropertyHTTPProxyHost ¶
KCFStreamPropertyHTTPProxyHost returns the value of the constant kCFStreamPropertyHTTPProxyHost.
func KCFStreamPropertyHTTPProxyPort ¶
KCFStreamPropertyHTTPProxyPort returns the value of the constant kCFStreamPropertyHTTPProxyPort.
func KCFStreamPropertyHTTPRequestBytesWrittenCount ¶
KCFStreamPropertyHTTPRequestBytesWrittenCount returns the value of the constant kCFStreamPropertyHTTPRequestBytesWrittenCount.
func KCFStreamPropertyHTTPResponseHeader ¶
KCFStreamPropertyHTTPResponseHeader returns the value of the constant kCFStreamPropertyHTTPResponseHeader.
func KCFStreamPropertyHTTPSProxyHost ¶
KCFStreamPropertyHTTPSProxyHost returns the value of the constant kCFStreamPropertyHTTPSProxyHost.
func KCFStreamPropertyHTTPSProxyPort ¶
KCFStreamPropertyHTTPSProxyPort returns the value of the constant kCFStreamPropertyHTTPSProxyPort.
func KCFStreamPropertyHTTPShouldAutoredirect ¶
KCFStreamPropertyHTTPShouldAutoredirect returns the value of the constant kCFStreamPropertyHTTPShouldAutoredirect.
func KCFStreamPropertyNoCellular ¶
KCFStreamPropertyNoCellular returns the value of the constant kCFStreamPropertyNoCellular.
func KCFStreamPropertyProxyLocalBypass ¶
KCFStreamPropertyProxyLocalBypass returns the value of the constant kCFStreamPropertyProxyLocalBypass.
func KCFStreamPropertySSLContext ¶
KCFStreamPropertySSLContext returns the value of the constant kCFStreamPropertySSLContext.
func KCFStreamPropertySSLPeerCertificates ¶
KCFStreamPropertySSLPeerCertificates returns the value of the constant kCFStreamPropertySSLPeerCertificates.
func KCFStreamPropertySSLPeerTrust ¶
KCFStreamPropertySSLPeerTrust returns the value of the constant kCFStreamPropertySSLPeerTrust.
func KCFStreamPropertySSLSettings ¶
KCFStreamPropertySSLSettings returns the value of the constant kCFStreamPropertySSLSettings.
func KCFStreamPropertySocketExtendedBackgroundIdleMode ¶
KCFStreamPropertySocketExtendedBackgroundIdleMode returns the value of the constant kCFStreamPropertySocketExtendedBackgroundIdleMode.
func KCFStreamPropertySocketRemoteHost ¶
KCFStreamPropertySocketRemoteHost returns the value of the constant kCFStreamPropertySocketRemoteHost.
func KCFStreamPropertySocketRemoteNetService ¶
KCFStreamPropertySocketRemoteNetService returns the value of the constant kCFStreamPropertySocketRemoteNetService.
func KCFStreamSSLAllowsAnyRoot ¶
KCFStreamSSLAllowsAnyRoot returns the value of the constant kCFStreamSSLAllowsAnyRoot.
func KCFStreamSSLAllowsExpiredCertificates ¶
KCFStreamSSLAllowsExpiredCertificates returns the value of the constant kCFStreamSSLAllowsExpiredCertificates.
func KCFStreamSSLAllowsExpiredRoots ¶
KCFStreamSSLAllowsExpiredRoots returns the value of the constant kCFStreamSSLAllowsExpiredRoots.
func KCFStreamSSLCertificates ¶
KCFStreamSSLCertificates returns the value of the constant kCFStreamSSLCertificates.
func KCFStreamSSLIsServer ¶
KCFStreamSSLIsServer returns the value of the constant kCFStreamSSLIsServer.
func KCFStreamSSLLevel ¶
KCFStreamSSLLevel returns the value of the constant kCFStreamSSLLevel.
func KCFStreamSSLPeerName ¶
KCFStreamSSLPeerName returns the value of the constant kCFStreamSSLPeerName.
func KCFStreamSSLValidatesCertificateChain ¶
KCFStreamSSLValidatesCertificateChain returns the value of the constant kCFStreamSSLValidatesCertificateChain.
func KCFURLErrorFailingURLErrorKey ¶
KCFURLErrorFailingURLErrorKey returns the value of the constant kCFURLErrorFailingURLErrorKey.
func KCFURLErrorFailingURLStringErrorKey ¶
KCFURLErrorFailingURLStringErrorKey returns the value of the constant kCFURLErrorFailingURLStringErrorKey.
Types ¶
type CFHTTPAuthentication ¶
type CFHTTPAuthentication struct{}
type CFHTTPMessage ¶
type CFHTTPMessage struct{}
type CFHostClientContext ¶
type CFHostClientContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure containing user-defined data and callbacks for CFHost objects.
type CFHostInfoType ¶
type CFHostInfoType int32
Values indicating the type of data that is to be resolved or the type of data that was resolved.
const ( // Specifies that addresses are to be resolved or that addresses were resolved. KCFHostAddresses CFHostInfoType = 0 // Specifies that names are to be resolved or that names were resolved. KCFHostNames CFHostInfoType = 1 // Specifies that reachability information is to be resolved or that reachability information was resolved. KCFHostReachability CFHostInfoType = 2 )
func (CFHostInfoType) String ¶
func (e CFHostInfoType) String() string
String returns the CFHostInfoType constant's name, or its numeric form when the value is not a known constant.
type CFNetDiagnostic ¶
type CFNetDiagnostic struct{}
type CFNetDiagnosticStatusValues ¶
type CFNetDiagnosticStatusValues int32
Constants for diagnostic status values.
const ( // No error occurred but there is no status. KCFNetDiagnosticNoErr CFNetDiagnosticStatusValues = 0 // An error occurred that prevented the call from completing. KCFNetDiagnosticErr CFNetDiagnosticStatusValues = -66560 // The connection appears to be working. KCFNetDiagnosticConnectionUp CFNetDiagnosticStatusValues = -66559 // The status of the connection is not known. KCFNetDiagnosticConnectionIndeterminate CFNetDiagnosticStatusValues = -66558 // The connection does not appear to be working. KCFNetDiagnosticConnectionDown CFNetDiagnosticStatusValues = -66557 )
func (CFNetDiagnosticStatusValues) String ¶
func (e CFNetDiagnosticStatusValues) String() string
String returns the CFNetDiagnosticStatusValues constant's name, or its numeric form when the value is not a known constant.
type CFNetService ¶
type CFNetService struct{}
type CFNetServiceBrowser ¶
type CFNetServiceBrowser struct{}
type CFNetServiceBrowserFlags ¶
type CFNetServiceBrowserFlags uint64
Flags that the system passes to net service browser callbacks. Bitmask — values may be combined with |.
const ( // A hint that the system will call the client’s callback function again soon. KCFNetServiceFlagMoreComing CFNetServiceBrowserFlags = 1 // Specifies whether the result pertains to a search for domains or services. KCFNetServiceFlagIsDomain CFNetServiceBrowserFlags = 2 // Specifies whether the resulting domain is the default registration or browse domain. KCFNetServiceFlagIsDefault CFNetServiceBrowserFlags = 4 KCFNetServiceFlagIsRegistrationDomain CFNetServiceBrowserFlags = 4 // Specifies whether the client should remove the result instead of adding it. KCFNetServiceFlagRemove CFNetServiceBrowserFlags = 8 )
func (CFNetServiceBrowserFlags) String ¶
func (e CFNetServiceBrowserFlags) String() string
String returns the CFNetServiceBrowserFlags constant's name, or its numeric form when the value is not a known constant.
type CFNetServiceClientContext ¶
type CFNetServiceClientContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure provided when a CFNetService is associated with a callback function or when a CFNetServiceBrowser is created.
type CFNetServiceMonitor ¶
type CFNetServiceMonitor struct{}
type CFNetServiceMonitorType ¶
type CFNetServiceMonitorType int32
Record type specifier used to tell a service monitor the type of record changes to watch for.
const ( // Watch for TXT record changes. KCFNetServiceMonitorTXT CFNetServiceMonitorType = 1 )
func (CFNetServiceMonitorType) String ¶
func (e CFNetServiceMonitorType) String() string
String returns the CFNetServiceMonitorType constant's name, or its numeric form when the value is not a known constant.
type CFNetServiceRegisterFlags ¶
type CFNetServiceRegisterFlags uint64
Options to use when registering a service on the network. Bitmask — values may be combined with |.
const ( // Causes registrations to fail if a name conflict occurs. KCFNetServiceFlagNoAutoRename CFNetServiceRegisterFlags = 1 )
func (CFNetServiceRegisterFlags) String ¶
func (e CFNetServiceRegisterFlags) String() string
String returns the CFNetServiceRegisterFlags constant's name, or its numeric form when the value is not a known constant.
type CFNetServicesError ¶
type CFNetServicesError int32
Error codes that may be returned by CFNetServices functions or passed to CFNetServices callback functions.
const ( // An unknown CFNetService error occurred. KCFNetServicesErrorUnknown CFNetServicesError = -72000 // An attempt was made to use a name that is already in use. KCFNetServicesErrorCollision CFNetServicesError = -72001 // Not used. KCFNetServicesErrorNotFound CFNetServicesError = -72002 // A search is already in progress. KCFNetServicesErrorInProgress CFNetServicesError = -72003 // A required argument was not provided. KCFNetServicesErrorBadArgument CFNetServicesError = -72004 // The search or service was canceled. KCFNetServicesErrorCancel CFNetServicesError = -72005 // Invalid data was passed to a CFNetServices function. KCFNetServicesErrorInvalid CFNetServicesError = -72006 // Resolution failed because the timeout was reached. KCFNetServicesErrorTimeout CFNetServicesError = -72007 // A required configuration for local network access is missing. KCFNetServicesErrorMissingRequiredConfiguration CFNetServicesError = -72008 )
func (CFNetServicesError) String ¶
func (e CFNetServicesError) String() string
String returns the CFNetServicesError constant's name, or its numeric form when the value is not a known constant.
type CFNetworkErrors ¶
type CFNetworkErrors int32
This enumeration contains error codes returned under the error domain kCFErrorDomainCFNetwork.
const ( // The specified host wasn’t found. KCFHostErrorHostNotFound CFNetworkErrors = 1 // An unknown error. KCFHostErrorUnknown CFNetworkErrors = 2 // The SOCKS server rejected access because it doesn’t support connections with the requested SOCKS version. KCFSOCKSErrorUnknownClientVersion CFNetworkErrors = 100 // The SOCKS server doesn’t support the requested version. KCFSOCKSErrorUnsupportedServerVersion CFNetworkErrors = 101 // The server rejected the request, or the request failed. KCFSOCKS4ErrorRequestFailed CFNetworkErrors = 110 // The server couldn’t connect to the identd daemon on the client and rejected the request. KCFSOCKS4ErrorIdentdFailed CFNetworkErrors = 111 // The server rejected the request because the client program and the identd daemon reported different user IDs. KCFSOCKS4ErrorIdConflict CFNetworkErrors = 112 // The server returned an unknown status code. KCFSOCKS4ErrorUnknownStatusCode CFNetworkErrors = 113 // The stream isn’t in a state that allows the requested operation. KCFSOCKS5ErrorBadState CFNetworkErrors = 120 // The address type returned isn’t supported. KCFSOCKS5ErrorBadResponseAddr CFNetworkErrors = 121 // The SOCKS server refused the client connection because of bad login credentials. KCFSOCKS5ErrorBadCredentials CFNetworkErrors = 122 // The requested method isn’t supported. KCFSOCKS5ErrorUnsupportedNegotiationMethod CFNetworkErrors = 123 // The client and server couldn’t find a mutually agreeable authentication method. KCFSOCKS5ErrorNoAcceptableMethod CFNetworkErrors = 124 // The server returned an unexpected status code. KCFFTPErrorUnexpectedStatusCode CFNetworkErrors = 200 // The client and server couldn’t agree on a supported authentication type. KCFErrorHTTPAuthenticationTypeUnsupported CFNetworkErrors = 300 // The server rejected the credentials provided for an authenticated connection. KCFErrorHTTPBadCredentials CFNetworkErrors = 301 // The connection to the server was dropped. KCFErrorHTTPConnectionLost CFNetworkErrors = 302 // The HTTP server response couldn’t be parsed. KCFErrorHTTPParseFailure CFNetworkErrors = 303 // Too many HTTP redirects occurred before reaching a page that didn’t redirect the client to another page. KCFErrorHTTPRedirectionLoopDetected CFNetworkErrors = 304 // The requested URL couldn’t be retrieved. KCFErrorHTTPBadURL CFNetworkErrors = 305 // A connection to the HTTPS proxy couldn’t be established. KCFErrorHTTPProxyConnectionFailure CFNetworkErrors = 306 // The proxy rejected the authentication credentials provided for logging in. KCFErrorHTTPBadProxyCredentials CFNetworkErrors = 307 // An error occurred with the proxy autoconfiguration file. KCFErrorPACFileError CFNetworkErrors = 308 // The authentication credentials provided by the proxy autoconfiguration file were rejected. KCFErrorPACFileAuth CFNetworkErrors = 309 // A connection couldn’t be established to the HTTPS proxy. KCFErrorHTTPSProxyConnectionFailure CFNetworkErrors = 310 // The HTTPS proxy returned an unexpected status code, such as a 3xx redirect. KCFStreamErrorHTTPSProxyFailureUnexpectedResponseToCONNECTMethod CFNetworkErrors = 311 // The background session failed because it was in use by another process. KCFURLErrorBackgroundSessionInUseByAnotherProcess CFNetworkErrors = -996 // The background session failed because it was disconnected. KCFURLErrorBackgroundSessionWasDisconnected CFNetworkErrors = -997 // An unknown error occurred. KCFURLErrorUnknown CFNetworkErrors = -998 // The connection was cancelled. KCFURLErrorCancelled CFNetworkErrors = -999 // The connection failed due to a malformed URL. KCFURLErrorBadURL CFNetworkErrors = -1000 // The connection timed out. KCFURLErrorTimedOut CFNetworkErrors = -1001 // The connection failed due to an unsupported URL scheme. KCFURLErrorUnsupportedURL CFNetworkErrors = -1002 // The connection failed because the host couldn’t be found. KCFURLErrorCannotFindHost CFNetworkErrors = -1003 // The connection failed because a connection can’t be made to the host. KCFURLErrorCannotConnectToHost CFNetworkErrors = -1004 // The connection failed because the network connection was lost. KCFURLErrorNetworkConnectionLost CFNetworkErrors = -1005 // The connection failed because the DNS lookup failed. KCFURLErrorDNSLookupFailed CFNetworkErrors = -1006 // The HTTP connection failed due to too many redirects. KCFURLErrorHTTPTooManyRedirects CFNetworkErrors = -1007 KCFURLErrorResourceUnavailable CFNetworkErrors = -1008 // The connection failed because the device isn’t connected to the internet. KCFURLErrorNotConnectedToInternet CFNetworkErrors = -1009 // The connection was redirected to a nonexistent location. KCFURLErrorRedirectToNonExistentLocation CFNetworkErrors = -1010 // The connection received an invalid server response. KCFURLErrorBadServerResponse CFNetworkErrors = -1011 // The connection failed because the user cancelled required authentication. KCFURLErrorUserCancelledAuthentication CFNetworkErrors = -1012 // The connection failed because it requires authentication. KCFURLErrorUserAuthenticationRequired CFNetworkErrors = -1013 // The resource retrieved by the connection is zero bytes. KCFURLErrorZeroByteResource CFNetworkErrors = -1014 // The connection can’t decode data encoded with a known content encoding. KCFURLErrorCannotDecodeRawData CFNetworkErrors = -1015 // The connection can’t decode data encoded with an unknown content encoding. KCFURLErrorCannotDecodeContentData CFNetworkErrors = -1016 // The connection can’t parse the server’s response. KCFURLErrorCannotParseResponse CFNetworkErrors = -1017 // The connection failed because international roaming is disabled on the device. KCFURLErrorInternationalRoamingOff CFNetworkErrors = -1018 // The connection failed because a call is active. KCFURLErrorCallIsActive CFNetworkErrors = -1019 // The connection failed because data use isn’t currently allowed on the device. KCFURLErrorDataNotAllowed CFNetworkErrors = -1020 // The connection failed because the request’s body stream was exhausted. KCFURLErrorRequestBodyStreamExhausted CFNetworkErrors = -1021 // The connection failed because the App Transport Security configuration requires a secure connection. KCFURLErrorAppTransportSecurityRequiresSecureConnection CFNetworkErrors = -1022 // The file operation failed because the file doesn’t exist. KCFURLErrorFileDoesNotExist CFNetworkErrors = -1100 // The file operation failed because the file is a directory. KCFURLErrorFileIsDirectory CFNetworkErrors = -1101 // The file operation failed because it doesn’t have permission to read the file. KCFURLErrorNoPermissionsToReadFile CFNetworkErrors = -1102 // The file operation failed because the file is too large. KCFURLErrorDataLengthExceedsMaximum CFNetworkErrors = -1103 // The file is outside of the safe area. KCFURLErrorFileOutsideSafeArea CFNetworkErrors = -1104 // The secure connection failed for an unknown reason. KCFURLErrorSecureConnectionFailed CFNetworkErrors = -1200 // The secure connection failed because the server’s certificate has an invalid date. KCFURLErrorServerCertificateHasBadDate CFNetworkErrors = -1201 // The secure connection failed because the server’s certificate isn’t trusted. KCFURLErrorServerCertificateUntrusted CFNetworkErrors = -1202 // The secure connection failed because the server’s certificate has an unknown root. KCFURLErrorServerCertificateHasUnknownRoot CFNetworkErrors = -1203 // The secure connection failed because the server’s certificate isn’t valid yet. KCFURLErrorServerCertificateNotYetValid CFNetworkErrors = -1204 // The secure connection failed because the client’s certificate was rejected. KCFURLErrorClientCertificateRejected CFNetworkErrors = -1205 // The secure connection failed because the server requires a client certificate. KCFURLErrorClientCertificateRequired CFNetworkErrors = -1206 // The connection failed because it’s being required to return a cached resource, but one isn’t available. KCFURLErrorCannotLoadFromNetwork CFNetworkErrors = -2000 // The file can’t be created. KCFURLErrorCannotCreateFile CFNetworkErrors = -3000 // The file can’t be opened. KCFURLErrorCannotOpenFile CFNetworkErrors = -3001 // The file can’t be closed. KCFURLErrorCannotCloseFile CFNetworkErrors = -3002 // The file can’t be written. KCFURLErrorCannotWriteToFile CFNetworkErrors = -3003 // The file can’t be removed. KCFURLErrorCannotRemoveFile CFNetworkErrors = -3004 // The file can’t be moved. KCFURLErrorCannotMoveFile CFNetworkErrors = -3005 // The download failed because decoding of the downloaded data failed midstream. KCFURLErrorDownloadDecodingFailedMidStream CFNetworkErrors = -3006 // The download failed because decoding of the downloaded data failed to complete. KCFURLErrorDownloadDecodingFailedToComplete CFNetworkErrors = -3007 // The cookie file can’t be parsed. KCFHTTPCookieCannotParseCookieFile CFNetworkErrors = -4000 // An error of unknown type has occurred. KCFNetServiceErrorUnknown CFNetworkErrors = -72000 // An attempt was made to use a name that’s already in use. KCFNetServiceErrorCollision CFNetworkErrors = -72001 // This error isn’t used. KCFNetServiceErrorNotFound CFNetworkErrors = -72002 // A new search couldn’t be started because a search is already in progress. KCFNetServiceErrorInProgress CFNetworkErrors = -72003 // A required argument either wasn’t provided or wasn’t valid. KCFNetServiceErrorBadArgument CFNetworkErrors = -72004 // The search or service was canceled. KCFNetServiceErrorCancel CFNetworkErrors = -72005 // Invalid data was passed to a CFNetServices function. KCFNetServiceErrorInvalid CFNetworkErrors = -72006 // Resolution failed because the timeout was reached. KCFNetServiceErrorTimeout CFNetworkErrors = -72007 // The DNS service discovery returned an error. KCFNetServiceErrorDNSServiceFailure CFNetworkErrors = -73000 )
func (CFNetworkErrors) String ¶
func (e CFNetworkErrors) String() string
String returns the CFNetworkErrors constant's name, or its numeric form when the value is not a known constant.
type CFStreamErrorHTTP ¶
type CFStreamErrorHTTP int32
Error codes that a read stream for an HTTP request may return.
const ( // A parsing error occurred while an incoming message was being deserialized and appended to a message object. The headers of the incoming message may be formatted improperly. KCFStreamErrorHTTPParseFailure CFStreamErrorHTTP = -1 // A redirection loop has been detected. KCFStreamErrorHTTPRedirectionLoop CFStreamErrorHTTP = -2 // The URL is not properly formatted. KCFStreamErrorHTTPBadURL CFStreamErrorHTTP = -3 )
func (CFStreamErrorHTTP) String ¶
func (e CFStreamErrorHTTP) String() string
String returns the CFStreamErrorHTTP constant's name, or its numeric form when the value is not a known constant.
type CFStreamErrorHTTPAuthentication ¶
type CFStreamErrorHTTPAuthentication int32
Authentication error codes that may be returned when trying to apply authentication to a request.
const ( // Specified authentication type is not supported. KCFStreamErrorHTTPAuthenticationTypeUnsupported CFStreamErrorHTTPAuthentication = -1000 // User name is in a format that is not suitable for the request. Currently, user names are decoded using kCFStringEncodingISOLatin1. KCFStreamErrorHTTPAuthenticationBadUserName CFStreamErrorHTTPAuthentication = -1001 // Password is in a format that is not suitable for the request. Currently, passwords are decoded using kCFStringEncodingISOLatin1. KCFStreamErrorHTTPAuthenticationBadPassword CFStreamErrorHTTPAuthentication = -1002 )
func (CFStreamErrorHTTPAuthentication) String ¶
func (e CFStreamErrorHTTPAuthentication) String() string
String returns the CFStreamErrorHTTPAuthentication constant's name, or its numeric form when the value is not a known constant.
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int32
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type Perm ¶ added in v0.17.0
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int32
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.