Documentation
¶
Overview ¶
Package network provides Go bindings for the Network framework.
Key Types ¶
- NWParameters
- NWPath
- NWInterface
- NWConnection
- NWEndpoint
- NWBrowseDescriptor
- NWAdvertiseDescriptor
- NWBrowser
Code generated from Apple documentation. DO NOT EDIT.
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func BindFunc(fptr any, name string) (err error)
- func NewErrorBlock(handler ErrorHandler) (objc.ID, func())
- func SymbolAddress(name string) (uintptr, error)
- type ErrorHandler
- type INWAdvertiseDescriptor
- type INWBrowseDescriptor
- type INWBrowser
- type INWConnection
- type INWEndpoint
- type INWInterface
- type INWParameters
- type INWPath
- type NSCopying
- type NSCopyingObject
- type NSSecureCoding
- type NSSecureCodingObject
- type NWAdvertiseDescriptor
- func NWAdvertiseDescriptorFromID(id objc.ID) NWAdvertiseDescriptor
- func NewNWAdvertiseDescriptor() NWAdvertiseDescriptor
- func NewNWAdvertiseDescriptorWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor
- func NewNWAdvertiseDescriptorWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
- func (n NWAdvertiseDescriptor) Autorelease() NWAdvertiseDescriptor
- func (n NWAdvertiseDescriptor) BonjourServiceDomain() string
- func (n NWAdvertiseDescriptor) BonjourServiceName() string
- func (n NWAdvertiseDescriptor) BonjourServiceType() string
- func (n NWAdvertiseDescriptor) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
- func (n NWAdvertiseDescriptor) Init() NWAdvertiseDescriptor
- func (n NWAdvertiseDescriptor) InitWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor
- func (n NWAdvertiseDescriptor) InitWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
- func (n NWAdvertiseDescriptor) InternalDescriptor() objectivec.Object
- func (n NWAdvertiseDescriptor) PrivateDescription() objectivec.IObject
- func (n NWAdvertiseDescriptor) SetInternalDescriptor(value objectivec.Object)
- func (n NWAdvertiseDescriptor) SetTxtRecord(value foundation.NSData)
- func (n NWAdvertiseDescriptor) TxtRecord() foundation.NSData
- type NWAdvertiseDescriptorClass
- type NWBrowseDescriptor
- func (n NWBrowseDescriptor) Autorelease() NWBrowseDescriptor
- func (n NWBrowseDescriptor) BonjourServiceDomain() string
- func (n NWBrowseDescriptor) BonjourServiceType() string
- func (n NWBrowseDescriptor) Browse(ctx context.Context) error
- func (n NWBrowseDescriptor) BrowseWithCompletionHandler(handler ErrorHandler)
- func (n NWBrowseDescriptor) CreateProtocolBufferObject() objectivec.IObject
- func (n NWBrowseDescriptor) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
- func (n NWBrowseDescriptor) EncodedData() objectivec.IObject
- func (n NWBrowseDescriptor) Init() NWBrowseDescriptor
- func (n NWBrowseDescriptor) InitWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor
- func (n NWBrowseDescriptor) InitWithEncodedData(data objectivec.IObject) NWBrowseDescriptor
- func (n NWBrowseDescriptor) InternalDescriptor() objectivec.Object
- func (n NWBrowseDescriptor) PrivateDescription() string
- func (n NWBrowseDescriptor) SetInternalDescriptor(value objectivec.Object)
- type NWBrowseDescriptorClass
- func (nc NWBrowseDescriptorClass) Alloc() NWBrowseDescriptor
- func (nc NWBrowseDescriptorClass) Class() objc.Class
- func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) CopyClassForDescriptorType(type_ int32) objc.Class
- func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorType() uint32
- func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorWithInternalDescriptor(descriptor objectivec.IObject) objectivec.IObject
- func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
- func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) SupportsBrowseCallback() bool
- type NWBrowser
- func (n NWBrowser) Autorelease() NWBrowser
- func (n NWBrowser) Cancel()
- func (n NWBrowser) CopyDiscoveredEndpoints() objectivec.IObject
- func (n NWBrowser) Descriptor() INWBrowseDescriptor
- func (n NWBrowser) DiscoveredEndpoints() foundation.INSSet
- func (n NWBrowser) Init() NWBrowser
- func (n NWBrowser) InitWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser
- func (n NWBrowser) InternalBrowser() objectivec.Object
- func (n NWBrowser) InternalDiscoveredEndpoints() foundation.INSSet
- func (n NWBrowser) Parameters() INWParameters
- func (n NWBrowser) SetInternalDiscoveredEndpoints(value foundation.INSSet)
- func (n NWBrowser) SetUpdateHandler()
- type NWBrowserClass
- type NWConnection
- func NWConnectionFromID(id objc.ID) NWConnection
- func NewNWConnection() NWConnection
- func NewNWConnectionWithConnectedSocket(socket int32) NWConnection
- func NewNWConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
- func NewNWConnectionWithInternalConnection(connection objectivec.IObject) NWConnection
- func (n NWConnection) Autorelease() NWConnection
- func (n NWConnection) Cancel()
- func (n NWConnection) CancelCurrentEndpoint()
- func (n NWConnection) ConnectedLocalEndpoint() INWEndpoint
- func (n NWConnection) ConnectedRemoteEndpoint() INWEndpoint
- func (n NWConnection) ConnectionState() int64
- func (n NWConnection) CopyCurrentPath() objectivec.IObject
- func (n NWConnection) CopyError() objectivec.IObject
- func (n NWConnection) CurrentPath() INWPath
- func (n NWConnection) Endpoint() INWEndpoint
- func (n NWConnection) Error() foundation.NSError
- func (n NWConnection) ForceCancel()
- func (n NWConnection) GetConnectedSocket() int32
- func (n NWConnection) HasBetterPath() bool
- func (n NWConnection) Init() NWConnection
- func (n NWConnection) InitWithConnectedSocket(socket int32) NWConnection
- func (n NWConnection) InitWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
- func (n NWConnection) InitWithInternalConnection(connection objectivec.IObject) NWConnection
- func (n NWConnection) InternalConnection() unsafe.Pointer
- func (n NWConnection) InternalConnectionState() int64
- func (n NWConnection) InternalError() foundation.NSError
- func (n NWConnection) InternalHasBetterPath() bool
- func (n NWConnection) InternalIsViable() bool
- func (n NWConnection) InternalPath() INWPath
- func (n NWConnection) IsViable() bool
- func (n NWConnection) Parameters() INWParameters
- func (n NWConnection) SetInternalConnection(value unsafe.Pointer)
- func (n NWConnection) SetInternalConnectionState(value int64)
- func (n NWConnection) SetInternalError(value foundation.NSError)
- func (n NWConnection) SetInternalHasBetterPath(value bool)
- func (n NWConnection) SetInternalIsViable(value bool)
- func (n NWConnection) SetInternalPath(value INWPath)
- func (n NWConnection) Start()
- func (n NWConnection) TlsConnectionTime() uint32
- type NWConnectionClass
- func (nc NWConnectionClass) Alloc() NWConnection
- func (_NWConnectionClass NWConnectionClass) AutomaticallyNotifiesObserversForKey(key objectivec.IObject) bool
- func (nc NWConnectionClass) Class() objc.Class
- func (_NWConnectionClass NWConnectionClass) ConnectionWithConnectedSocket(socket int32) objectivec.IObject
- func (_NWConnectionClass NWConnectionClass) ConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) objectivec.IObject
- func (_NWConnectionClass NWConnectionClass) ConnectionWithInternalConnection(connection objectivec.IObject) objectivec.IObject
- type NWEndpoint
- func (n NWEndpoint) AlternatePort() uint16
- func (n NWEndpoint) Autorelease() NWEndpoint
- func (n NWEndpoint) CopyCEndpoint() objectivec.IObject
- func (n NWEndpoint) CreateProtocolBufferObject() objectivec.IObject
- func (n NWEndpoint) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
- func (n NWEndpoint) EncodeWithCoder(coder foundation.INSCoder)
- func (n NWEndpoint) EncodedData() objectivec.IObject
- func (n NWEndpoint) Init() NWEndpoint
- func (n NWEndpoint) InitWithCoder(coder foundation.INSCoder) NWEndpoint
- func (n NWEndpoint) InitWithEndpoint(endpoint objectivec.IObject) NWEndpoint
- func (n NWEndpoint) Interface() INWInterface
- func (n NWEndpoint) InternalEndpoint() objectivec.Object
- func (n NWEndpoint) ParentEndpointDomain() string
- func (n NWEndpoint) PrivateDescription() string
- func (n NWEndpoint) RemoteInterfaceType() int64
- func (n NWEndpoint) SetAlternatePort(value uint16)
- func (n NWEndpoint) SetInterface(value INWInterface)
- func (n NWEndpoint) SetInternalEndpoint(value objectivec.Object)
- func (n NWEndpoint) SetRemoteInterfaceType(value int64)
- func (n NWEndpoint) SetTxtRecord(value foundation.NSData)
- func (n NWEndpoint) TxtRecord() foundation.NSData
- type NWEndpointClass
- func (nc NWEndpointClass) Alloc() NWEndpoint
- func (nc NWEndpointClass) Class() objc.Class
- func (_NWEndpointClass NWEndpointClass) CopyClassForEndpointType(type_ int32) objc.Class
- func (_NWEndpointClass NWEndpointClass) EndpointType() uint32
- func (_NWEndpointClass NWEndpointClass) EndpointWithCEndpoint(cEndpoint objectivec.IObject) objectivec.IObject
- func (_NWEndpointClass NWEndpointClass) EndpointWithInternalEndpoint(endpoint objectivec.IObject) objectivec.IObject
- func (_NWEndpointClass NWEndpointClass) EndpointWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
- func (_NWEndpointClass NWEndpointClass) SupportsResolverCallback() bool
- func (_NWEndpointClass NWEndpointClass) SupportsSecureCoding() bool
- type NWInterface
- func NWInterfaceFromID(id objc.ID) NWInterface
- func NewNWInterface() NWInterface
- func NewNWInterfaceWithCoder(coder objectivec.IObject) NWInterface
- func NewNWInterfaceWithInterface(interface_ objectivec.IObject) NWInterface
- func NewNWInterfaceWithInterfaceIndex(index uint64) NWInterface
- func NewNWInterfaceWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
- func NewNWInterfaceWithInterfaceName(name objectivec.IObject) NWInterface
- func (n NWInterface) Autorelease() NWInterface
- func (n NWInterface) CInterface() objectivec.Object
- func (n NWInterface) CopyLocalAddressForDefaultIPv4() objectivec.IObject
- func (n NWInterface) CopyLocalAddressForDefaultIPv6() objectivec.IObject
- func (n NWInterface) CopyLocalAddressForRemoteAddress(address objectivec.IObject) objectivec.IObject
- func (n NWInterface) CreateProtocolBufferObject() objectivec.IObject
- func (n NWInterface) DelegateInterface() INWInterface
- func (n NWInterface) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
- func (n NWInterface) EncodeWithCoder(coder foundation.INSCoder)
- func (n NWInterface) Generation() uint64
- func (n NWInterface) HasDNS() bool
- func (n NWInterface) HasNAT64() bool
- func (n NWInterface) Init() NWInterface
- func (n NWInterface) InitWithCoder(coder foundation.INSCoder) NWInterface
- func (n NWInterface) InitWithInterface(interface_ objectivec.IObject) NWInterface
- func (n NWInterface) InitWithInterfaceIndex(index uint64) NWInterface
- func (n NWInterface) InitWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
- func (n NWInterface) InitWithInterfaceName(name objectivec.IObject) NWInterface
- func (n NWInterface) InterfaceIndex() uint64
- func (n NWInterface) InterfaceName() string
- func (n NWInterface) InternalInterface() objectivec.Object
- func (n NWInterface) Ipv4Broadcast() objectivec.IObject
- func (n NWInterface) Ipv4Netmask() objectivec.IObject
- func (n NWInterface) IsConstrained() bool
- func (n NWInterface) IsDeepEqual(equal objectivec.IObject) bool
- func (n NWInterface) IsExpensive() bool
- func (n NWInterface) IsIPv4Routable() bool
- func (n NWInterface) IsIPv6Routable() bool
- func (n NWInterface) IsShallowEqual(equal objectivec.IObject) bool
- func (n NWInterface) IsUltraConstrained() bool
- func (n NWInterface) Mtu() int64
- func (n NWInterface) PrivateDescription() string
- func (n NWInterface) SetInternalInterface(value objectivec.Object)
- func (n NWInterface) Subtype() int64
- func (n NWInterface) SupportsMulticast() bool
- func (n NWInterface) Type() int64
- func (n NWInterface) TypeString() string
- type NWInterfaceClass
- func (nc NWInterfaceClass) Alloc() NWInterface
- func (nc NWInterfaceClass) Class() objc.Class
- func (_NWInterfaceClass NWInterfaceClass) DescriptionForSubtype(subtype int64) objectivec.IObject
- func (_NWInterfaceClass NWInterfaceClass) DescriptionForType(type_ int64) objectivec.IObject
- func (_NWInterfaceClass NWInterfaceClass) InterfaceWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
- func (_NWInterfaceClass NWInterfaceClass) SupportsSecureCoding() bool
- type NWParameters
- func NWParametersCreatePlainTCP(configureTCP NWParametersConfigureProtocolBlock) NWParameters
- func NWParametersFromID(id objc.ID) NWParameters
- func NewNWParameters() NWParameters
- func NewNWParametersWithCoder(coder objectivec.IObject) NWParameters
- func NewNWParametersWithParameters(parameters objectivec.IObject) NWParameters
- func TryNWParametersCreatePlainTCP(configureTCP NWParametersConfigureProtocolBlock) (NWParameters, error)
- func (n NWParameters) Account() string
- func (n NWParameters) AllowDuplicateStateUpdates() bool
- func (n NWParameters) AllowJoiningConnectedFd() bool
- func (n NWParameters) AllowSocketAccess() bool
- func (n NWParameters) AllowUnusableAddresses() bool
- func (n NWParameters) AttachProtocolListener() bool
- func (n NWParameters) Autorelease() NWParameters
- func (n NWParameters) AvoidNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
- func (n NWParameters) AvoidNetworkAgentWithUUID(uuid objectivec.IObject)
- func (n NWParameters) CopyCParameters() objectivec.IObject
- func (n NWParameters) CopyEffectiveAuditToken(token unsafe.Pointer) bool
- func (n NWParameters) CopyRequiredAgentsDescription() objectivec.IObject
- func (n NWParameters) CreateProtocolBufferObject() objectivec.IObject
- func (n NWParameters) DataMode() uint64
- func (n NWParameters) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
- func (n NWParameters) DisableNagleAlgorithm() bool
- func (n NWParameters) EffectiveBundleID() string
- func (n NWParameters) EffectiveProcessUUID() foundation.NSUUID
- func (n NWParameters) EnableTFO() bool
- func (n NWParameters) EnableTFONoCookie() bool
- func (n NWParameters) EnableTLS() bool
- func (n NWParameters) EncodeWithCoder(coder foundation.INSCoder)
- func (n NWParameters) FastOpenForceEnable() bool
- func (n NWParameters) HasDelegatedPIDForOriginatingPID(pid int32) bool
- func (n NWParameters) HasDelegatedProcessUUID() bool
- func (n NWParameters) HasNonEmptyProxyConfiguration() bool
- func (n NWParameters) HasPreferredNetworkAgents() bool
- func (n NWParameters) HasProhibitedNetworkAgents() bool
- func (n NWParameters) HasRequiredNetworkAgents() bool
- func (n NWParameters) HttpsProxyIsOpaque() bool
- func (n NWParameters) HttpsProxyOverTLS() bool
- func (n NWParameters) IgnoreResolverStats() bool
- func (n NWParameters) Indefinite() bool
- func (n NWParameters) Init() NWParameters
- func (n NWParameters) InitWithCoder(coder foundation.INSCoder) NWParameters
- func (n NWParameters) InitWithParameters(parameters objectivec.IObject) NWParameters
- func (n NWParameters) InternalParameters() objectivec.Object
- func (n NWParameters) IpProtocol() byte
- func (n NWParameters) IsDiscretionary() bool
- func (n NWParameters) IsDryRun() bool
- func (n NWParameters) IsValid() bool
- func (n NWParameters) KeepAlive() bool
- func (n NWParameters) KeepAliveIdleTime() uint64
- func (n NWParameters) KeepAliveInterval() uint64
- func (n NWParameters) KeepAliveOffload() bool
- func (n NWParameters) LocalAddress() unsafe.Pointer
- func (n NWParameters) MaximumSSLProtocolVersion() uint64
- func (n NWParameters) MaximumSSLProtocolVersionInternal() uint64
- func (n NWParameters) Metadata() foundation.NSData
- func (n NWParameters) MinimumSSLProtocolVersion() uint64
- func (n NWParameters) MinimumSSLProtocolVersionInternal() uint64
- func (n NWParameters) Multipath() bool
- func (n NWParameters) MultipathForceEnable() bool
- func (n NWParameters) MultipathService() int32
- func (n NWParameters) NoProxy() bool
- func (n NWParameters) ParentID() foundation.NSUUID
- func (n NWParameters) ParentIDs() foundation.INSArray
- func (n NWParameters) Pid() int32
- func (n NWParameters) PreferNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
- func (n NWParameters) PreferNetworkAgentWithUUID(uuid objectivec.IObject)
- func (n NWParameters) PreferNoProxy() bool
- func (n NWParameters) PrivateDescription() string
- func (n NWParameters) ProcessUUID() foundation.NSUUID
- func (n NWParameters) ProhibitCellular() bool
- func (n NWParameters) ProhibitConstrainedPaths() bool
- func (n NWParameters) ProhibitExpensivePaths() bool
- func (n NWParameters) ProhibitFallback() bool
- func (n NWParameters) ProhibitInterface(interface_ objectivec.IObject)
- func (n NWParameters) ProhibitInterfaceSubtype(subtype int64)
- func (n NWParameters) ProhibitInterfaceType(type_ int64)
- func (n NWParameters) ProhibitJoiningProtocols() bool
- func (n NWParameters) ProhibitNetworkAgentWithUUID(uuid objectivec.IObject)
- func (n NWParameters) ProhibitNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
- func (n NWParameters) ProhibitRoaming() bool
- func (n NWParameters) ProtocolTransforms() foundation.INSArray
- func (n NWParameters) ProxyConfiguration() foundation.INSDictionary
- func (n NWParameters) ReduceBuffering() bool
- func (n NWParameters) RequireNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
- func (n NWParameters) RequireNetworkAgentWithUUID(uuid objectivec.IObject)
- func (n NWParameters) RequiredAddressFamily() byte
- func (n NWParameters) RequiredCompanionProxyInterfaceType() int64
- func (n NWParameters) RequiredInterface() INWInterface
- func (n NWParameters) RequiredInterfaceSubtype() int64
- func (n NWParameters) RequiredInterfaceType() int64
- func (n NWParameters) ResolvePTR() bool
- func (n NWParameters) ReuseLocalAddress() bool
- func (n NWParameters) SSLCipherSuites() foundation.INSSet
- func (n NWParameters) SSLCipherSuitesInternal() foundation.INSSet
- func (n NWParameters) SanitizedURL() foundation.NSURL
- func (n NWParameters) SetAccount(value string)
- func (n NWParameters) SetAllowDuplicateStateUpdates(value bool)
- func (n NWParameters) SetAllowJoiningConnectedFd(value bool)
- func (n NWParameters) SetAllowSocketAccess(value bool)
- func (n NWParameters) SetAllowUnusableAddresses(value bool)
- func (n NWParameters) SetAttachProtocolListener(value bool)
- func (n NWParameters) SetDataMode(value uint64)
- func (n NWParameters) SetDisableNagleAlgorithm(value bool)
- func (n NWParameters) SetDiscretionary(value bool)
- func (n NWParameters) SetEffectiveBundleID(value string)
- func (n NWParameters) SetEffectiveProcessUUID(value foundation.NSUUID)
- func (n NWParameters) SetEnableTFO(value bool)
- func (n NWParameters) SetEnableTFONoCookie(value bool)
- func (n NWParameters) SetEnableTLS(value bool)
- func (n NWParameters) SetFastOpenForceEnable(value bool)
- func (n NWParameters) SetHttpsProxyIsOpaque(value bool)
- func (n NWParameters) SetHttpsProxyOverTLS(value bool)
- func (n NWParameters) SetIgnoreResolverStats(value bool)
- func (n NWParameters) SetIndefinite(value bool)
- func (n NWParameters) SetInitialDataPayload(payload objectivec.IObject)
- func (n NWParameters) SetInternalParameters(value objectivec.Object)
- func (n NWParameters) SetKeepAlive(value bool)
- func (n NWParameters) SetKeepAliveIdleTime(value uint64)
- func (n NWParameters) SetKeepAliveInterval(value uint64)
- func (n NWParameters) SetKeepAliveOffload(value bool)
- func (n NWParameters) SetLocalAddress(value unsafe.Pointer)
- func (n NWParameters) SetMaximumSSLProtocolVersion(value uint64)
- func (n NWParameters) SetMaximumSSLProtocolVersionInternal(value uint64)
- func (n NWParameters) SetMetadata(value foundation.NSData)
- func (n NWParameters) SetMinimumSSLProtocolVersion(value uint64)
- func (n NWParameters) SetMinimumSSLProtocolVersionInternal(value uint64)
- func (n NWParameters) SetMultipath(value bool)
- func (n NWParameters) SetMultipathForceEnable(value bool)
- func (n NWParameters) SetMultipathService(value int32)
- func (n NWParameters) SetNoProxy(value bool)
- func (n NWParameters) SetParentID(value foundation.NSUUID)
- func (n NWParameters) SetPid(value int32)
- func (n NWParameters) SetPreferNoProxy(value bool)
- func (n NWParameters) SetProcessUUID(value foundation.NSUUID)
- func (n NWParameters) SetProhibitConstrainedPaths(value bool)
- func (n NWParameters) SetProhibitExpensivePaths(value bool)
- func (n NWParameters) SetProhibitFallback(value bool)
- func (n NWParameters) SetProhibitJoiningProtocols(value bool)
- func (n NWParameters) SetProhibitRoaming(value bool)
- func (n NWParameters) SetProtocolTransforms(value foundation.INSArray)
- func (n NWParameters) SetProxyConfiguration(value foundation.INSDictionary)
- func (n NWParameters) SetReduceBuffering(value bool)
- func (n NWParameters) SetRequiredAddressFamily(value byte)
- func (n NWParameters) SetRequiredCompanionProxyInterfaceType(value int64)
- func (n NWParameters) SetRequiredInterface(value INWInterface)
- func (n NWParameters) SetRequiredInterfaceSubtype(value int64)
- func (n NWParameters) SetRequiredInterfaceType(value int64)
- func (n NWParameters) SetResolvePTR(value bool)
- func (n NWParameters) SetReuseLocalAddress(value bool)
- func (n NWParameters) SetSSLCipherSuites(value foundation.INSSet)
- func (n NWParameters) SetSSLCipherSuitesInternal(value foundation.INSSet)
- func (n NWParameters) SetSourceApplicationWithBundleID(id objectivec.IObject)
- func (n NWParameters) SetTLSSessionID(value foundation.NSData)
- func (n NWParameters) SetTrafficClass(value uint64)
- func (n NWParameters) SetTrustInvalidCertificates(value bool)
- func (n NWParameters) SetUid(value uint32)
- func (n NWParameters) SetUrl(value foundation.NSURL)
- func (n NWParameters) SetUseAWDL(value bool)
- func (n NWParameters) SetUseLongOutstandingQueries(value bool)
- func (n NWParameters) SetUseP2P(value bool)
- func (n NWParameters) TLSSessionID() foundation.NSData
- func (n NWParameters) TlsVersionWithSSLProtocol(sSLProtocol int32) uint16
- func (n NWParameters) TrafficClass() uint64
- func (n NWParameters) TransportProtocol() byte
- func (n NWParameters) TrustInvalidCertificates() bool
- func (n NWParameters) Uid() uint32
- func (n NWParameters) Url() foundation.NSURL
- func (n NWParameters) UseAWDL() bool
- func (n NWParameters) UseLongOutstandingQueries() bool
- func (n NWParameters) UseP2P() bool
- type NWParametersClass
- func (nc NWParametersClass) Alloc() NWParameters
- func (nc NWParametersClass) Class() objc.Class
- func (_NWParametersClass NWParametersClass) ParametersWithCParameters(cParameters objectivec.IObject) objectivec.IObject
- func (_NWParametersClass NWParametersClass) ParametersWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
- func (_NWParametersClass NWParametersClass) SupportsSecureCoding() bool
- type NWParametersConfigureProtocolBlock
- type NWPath
- func (n NWPath) AdvertiseDescriptor() INWAdvertiseDescriptor
- func (n NWPath) Autorelease() NWPath
- func (n NWPath) BrowseDescriptor() INWBrowseDescriptor
- func (n NWPath) CPath() objectivec.Object
- func (n NWPath) ClientID() foundation.NSUUID
- func (n NWPath) ConnectedInterface() INWInterface
- func (n NWPath) CopyDNSSearchDomains(domains bool) objectivec.IObject
- func (n NWPath) CopyDNSServerEndpoints(endpoints bool) objectivec.IObject
- func (n NWPath) CopyDNSServersStrings(strings objectivec.IObject) objectivec.IObject
- func (n NWPath) CopyDataFromNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
- func (n NWPath) CopyFlowDivertToken() objectivec.IObject
- func (n NWPath) CreateProtocolBufferObject() objectivec.IObject
- func (n NWPath) DelegateInterface() objectivec.IObject
- func (n NWPath) DerivedParameters() INWParameters
- func (n NWPath) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
- func (n NWPath) DnsSearchDomains() foundation.INSArray
- func (n NWPath) DnsServers() foundation.INSArray
- func (n NWPath) DnsServersAsStrings() foundation.INSArray
- func (n NWPath) DnsServiceID() int32
- func (n NWPath) EffectiveLocalEndpoint() INWEndpoint
- func (n NWPath) EffectiveRemoteEndpoint() INWEndpoint
- func (n NWPath) Endpoint() INWEndpoint
- func (n NWPath) FallbackEligible() bool
- func (n NWPath) FallbackInterface() INWInterface
- func (n NWPath) FallbackInterfaceIndex() uint32
- func (n NWPath) FallbackIsPreferred() bool
- func (n NWPath) FallbackIsWeak() bool
- func (n NWPath) FilterControlUnit() uint32
- func (n NWPath) FlowDivertAggregateUnit() uint32
- func (n NWPath) FlowDivertControlUnit() uint32
- func (n NWPath) Flows() foundation.INSArray
- func (n NWPath) Gateways() foundation.INSArray
- func (n NWPath) GenericNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
- func (n NWPath) GroupMembers() foundation.INSArray
- func (n NWPath) HasAdvertiseDescriptor() bool
- func (n NWPath) HasApplicationLevelFirewall() bool
- func (n NWPath) HasBrowseDescriptor() bool
- func (n NWPath) HasCustomPFRules() bool
- func (n NWPath) HasKernelExtensionFilter() bool
- func (n NWPath) HasParentalControls() bool
- func (n NWPath) HasProxySettings() bool
- func (n NWPath) HasUnsatisfiedFallbackAgent() bool
- func (n NWPath) InactiveNetworkAgentUUIDsOnlyVoluntary(voluntary bool) objectivec.IObject
- func (n NWPath) Init() NWPath
- func (n NWPath) InitWithPath(path objectivec.IObject) NWPath
- func (n NWPath) Interface() INWInterface
- func (n NWPath) InternalPath() objectivec.Object
- func (n NWPath) IsConstrained() bool
- func (n NWPath) IsDirect() bool
- func (n NWPath) IsEligibleForCrazyIvan46() bool
- func (n NWPath) IsEqualToPath(path objectivec.IObject) bool
- func (n NWPath) IsExpensive() bool
- func (n NWPath) IsFiltered() bool
- func (n NWPath) IsFlowDivert() bool
- func (n NWPath) IsLinkQualityAbort() bool
- func (n NWPath) IsListener() bool
- func (n NWPath) IsListenerInterfaceSpecific() bool
- func (n NWPath) IsLocal() bool
- func (n NWPath) IsPerAppVPN() bool
- func (n NWPath) IsRoaming() bool
- func (n NWPath) IsUltraConstrained() bool
- func (n NWPath) IsViable() bool
- func (n NWPath) MaximumDatagramSize() int64
- func (n NWPath) Mtu() int64
- func (n NWPath) NetworkAgentsOfType(type_ objc.Class) objectivec.IObject
- func (n NWPath) OverrideDNSSearchDomains() foundation.INSArray
- func (n NWPath) OverrideDNSServers() foundation.INSArray
- func (n NWPath) OverrideDNSServersAsStrings() foundation.INSArray
- func (n NWPath) Parameters() INWParameters
- func (n NWPath) PolicyID() uint32
- func (n NWPath) PrivateDescription() string
- func (n NWPath) ProxySettings() foundation.INSArray
- func (n NWPath) Reason() int64
- func (n NWPath) ReasonDescription() string
- func (n NWPath) ScopedInterface() INWInterface
- func (n NWPath) SecondsSinceInterfaceChange() uint64
- func (n NWPath) ShouldProbeConnectivity() bool
- func (n NWPath) Status() int64
- func (n NWPath) StatusAsString() string
- func (n NWPath) SupportsDNS() bool
- func (n NWPath) SupportsIPv4() bool
- func (n NWPath) SupportsIPv6() bool
- func (n NWPath) UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately(address objectivec.IObject) (bool, bool)
- func (n NWPath) UsesCompanion() bool
- func (n NWPath) UsesInterfaceType(type_ int64) bool
- func (n NWPath) UsesNetworkAgent(agent objectivec.IObject) bool
- func (n NWPath) UsesNetworkAgentType(type_ objc.Class) bool
- type NWPathClass
- func (_NWPathClass NWPathClass) AllClientIDs() objectivec.IObject
- func (nc NWPathClass) Alloc() NWPath
- func (nc NWPathClass) Class() objc.Class
- func (_NWPathClass NWPathClass) CreateStringFromStatus(status int64) objectivec.IObject
- func (_NWPathClass NWPathClass) PathForClientID(id objectivec.IObject) objectivec.IObject
- func (_NWPathClass NWPathClass) PathForClientIDParametersTLVPathResultTLV(id objectivec.IObject, tlv objectivec.IObject, tlv2 objectivec.IObject) objectivec.IObject
- func (_NWPathClass NWPathClass) PathWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
- type NWPrettyDescription
- type NWPrettyDescriptionObject
- type NWProtocolOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindFunc ¶
SPI: undocumented; may change or disappear between OS releases.
BindFunc binds the Network symbol name into fptr, which must be a pointer to a func variable.
The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.
func NewErrorBlock ¶
func NewErrorBlock(handler ErrorHandler) (objc.ID, func())
SPI: undocumented; may change or disappear between OS releases.
NewErrorBlock wraps a Go ErrorHandler as an Objective-C block. The caller must defer the returned cleanup function.
Used by:
func SymbolAddress ¶
SPI: undocumented; may change or disappear between OS releases.
SymbolAddress returns the address of name in Network, whether or not this package generated a binding for it.
What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.
The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.
Types ¶
type ErrorHandler ¶
type ErrorHandler = func(error)
ErrorHandler is the signature for a completion handler block.
Used by:
type INWAdvertiseDescriptor ¶
type INWAdvertiseDescriptor interface {
objectivec.IObject
BonjourServiceDomain() string
BonjourServiceName() string
BonjourServiceType() string
DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
InternalDescriptor() objectivec.Object
SetInternalDescriptor(value objectivec.Object)
PrivateDescription() objectivec.IObject
TxtRecord() foundation.NSData
SetTxtRecord(value foundation.NSData)
InitWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor
InitWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
}
SPI: undocumented; may change or disappear between OS releases.
An interface definition for the NWAdvertiseDescriptor class.
Methods ¶
- INWAdvertiseDescriptor.BonjourServiceDomain
- INWAdvertiseDescriptor.BonjourServiceName
- INWAdvertiseDescriptor.BonjourServiceType
- INWAdvertiseDescriptor.DescriptionWithIndentShowFullContent
- INWAdvertiseDescriptor.InternalDescriptor
- INWAdvertiseDescriptor.SetInternalDescriptor
- INWAdvertiseDescriptor.PrivateDescription
- INWAdvertiseDescriptor.TxtRecord
- INWAdvertiseDescriptor.SetTxtRecord
- INWAdvertiseDescriptor.InitWithDescriptor
- INWAdvertiseDescriptor.InitWithNameTypeDomain
type INWBrowseDescriptor ¶
type INWBrowseDescriptor interface {
objectivec.IObject
BonjourServiceDomain() string
BonjourServiceType() string
BrowseWithCompletionHandler(handler ErrorHandler)
CreateProtocolBufferObject() objectivec.IObject
DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
EncodedData() objectivec.IObject
InternalDescriptor() objectivec.Object
SetInternalDescriptor(value objectivec.Object)
PrivateDescription() string
InitWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor
InitWithEncodedData(data objectivec.IObject) NWBrowseDescriptor
}
SPI: undocumented; may change or disappear between OS releases.
An interface definition for the NWBrowseDescriptor class.
Methods ¶
- INWBrowseDescriptor.BonjourServiceDomain
- INWBrowseDescriptor.BonjourServiceType
- INWBrowseDescriptor.BrowseWithCompletionHandler
- INWBrowseDescriptor.CreateProtocolBufferObject
- INWBrowseDescriptor.DescriptionWithIndentShowFullContent
- INWBrowseDescriptor.EncodedData
- INWBrowseDescriptor.InternalDescriptor
- INWBrowseDescriptor.SetInternalDescriptor
- INWBrowseDescriptor.PrivateDescription
- INWBrowseDescriptor.InitWithDescriptor
- INWBrowseDescriptor.InitWithEncodedData
type INWBrowser ¶
type INWBrowser interface {
objectivec.IObject
Cancel()
CopyDiscoveredEndpoints() objectivec.IObject
Descriptor() INWBrowseDescriptor
DiscoveredEndpoints() foundation.INSSet
InternalBrowser() objectivec.Object
InternalDiscoveredEndpoints() foundation.INSSet
SetInternalDiscoveredEndpoints(value foundation.INSSet)
Parameters() INWParameters
SetUpdateHandler()
InitWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser
}
SPI: undocumented; may change or disappear between OS releases.
An interface definition for the NWBrowser class.
Methods ¶
- INWBrowser.Cancel
- INWBrowser.CopyDiscoveredEndpoints
- INWBrowser.Descriptor
- INWBrowser.DiscoveredEndpoints
- INWBrowser.InternalBrowser
- INWBrowser.InternalDiscoveredEndpoints
- INWBrowser.SetInternalDiscoveredEndpoints
- INWBrowser.Parameters
- INWBrowser.SetUpdateHandler
- INWBrowser.InitWithDescriptorParameters
type INWConnection ¶
type INWConnection interface {
objectivec.IObject
Cancel()
CancelCurrentEndpoint()
ConnectedLocalEndpoint() INWEndpoint
ConnectedRemoteEndpoint() INWEndpoint
ConnectionState() int64
CopyCurrentPath() objectivec.IObject
CopyError() objectivec.IObject
CurrentPath() INWPath
Endpoint() INWEndpoint
Error() foundation.NSError
ForceCancel()
GetConnectedSocket() int32
HasBetterPath() bool
InternalConnection() unsafe.Pointer
SetInternalConnection(value unsafe.Pointer)
InternalConnectionState() int64
SetInternalConnectionState(value int64)
InternalError() foundation.NSError
SetInternalError(value foundation.NSError)
InternalHasBetterPath() bool
SetInternalHasBetterPath(value bool)
InternalIsViable() bool
SetInternalIsViable(value bool)
InternalPath() INWPath
SetInternalPath(value INWPath)
Parameters() INWParameters
Start()
TlsConnectionTime() uint32
InitWithConnectedSocket(socket int32) NWConnection
InitWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
InitWithInternalConnection(connection objectivec.IObject) NWConnection
IsViable() bool
}
SPI: undocumented; may change or disappear between OS releases.
An interface definition for the NWConnection class.
Methods ¶
- INWConnection.Cancel
- INWConnection.CancelCurrentEndpoint
- INWConnection.ConnectedLocalEndpoint
- INWConnection.ConnectedRemoteEndpoint
- INWConnection.ConnectionState
- INWConnection.CopyCurrentPath
- INWConnection.CopyError
- INWConnection.CurrentPath
- INWConnection.Endpoint
- INWConnection.Error
- INWConnection.ForceCancel
- INWConnection.GetConnectedSocket
- INWConnection.HasBetterPath
- INWConnection.InternalConnection
- INWConnection.SetInternalConnection
- INWConnection.InternalConnectionState
- INWConnection.SetInternalConnectionState
- INWConnection.InternalError
- INWConnection.SetInternalError
- INWConnection.InternalHasBetterPath
- INWConnection.SetInternalHasBetterPath
- INWConnection.InternalIsViable
- INWConnection.SetInternalIsViable
- INWConnection.InternalPath
- INWConnection.SetInternalPath
- INWConnection.Parameters
- INWConnection.Start
- INWConnection.TlsConnectionTime
- INWConnection.InitWithConnectedSocket
- INWConnection.InitWithEndpointParameters
- INWConnection.InitWithInternalConnection
- INWConnection.IsViable
type INWEndpoint ¶
type INWEndpoint interface {
objectivec.IObject
AlternatePort() uint16
SetAlternatePort(value uint16)
CopyCEndpoint() objectivec.IObject
CreateProtocolBufferObject() objectivec.IObject
DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
EncodeWithCoder(coder foundation.INSCoder)
EncodedData() objectivec.IObject
Interface() INWInterface
SetInterface(value INWInterface)
InternalEndpoint() objectivec.Object
SetInternalEndpoint(value objectivec.Object)
ParentEndpointDomain() string
PrivateDescription() string
RemoteInterfaceType() int64
SetRemoteInterfaceType(value int64)
TxtRecord() foundation.NSData
SetTxtRecord(value foundation.NSData)
InitWithCoder(coder foundation.INSCoder) NWEndpoint
InitWithEndpoint(endpoint objectivec.IObject) NWEndpoint
}
SPI: undocumented; may change or disappear between OS releases.
An interface definition for the NWEndpoint class.
Methods ¶
- INWEndpoint.AlternatePort
- INWEndpoint.SetAlternatePort
- INWEndpoint.CopyCEndpoint
- INWEndpoint.CreateProtocolBufferObject
- INWEndpoint.DescriptionWithIndentShowFullContent
- INWEndpoint.EncodeWithCoder
- INWEndpoint.EncodedData
- INWEndpoint.Interface
- INWEndpoint.SetInterface
- INWEndpoint.InternalEndpoint
- INWEndpoint.SetInternalEndpoint
- INWEndpoint.ParentEndpointDomain
- INWEndpoint.PrivateDescription
- INWEndpoint.RemoteInterfaceType
- INWEndpoint.SetRemoteInterfaceType
- INWEndpoint.TxtRecord
- INWEndpoint.SetTxtRecord
- INWEndpoint.InitWithCoder
- INWEndpoint.InitWithEndpoint
type INWInterface ¶
type INWInterface interface {
objectivec.IObject
CInterface() objectivec.Object
CopyLocalAddressForDefaultIPv4() objectivec.IObject
CopyLocalAddressForDefaultIPv6() objectivec.IObject
CopyLocalAddressForRemoteAddress(address objectivec.IObject) objectivec.IObject
CreateProtocolBufferObject() objectivec.IObject
DelegateInterface() INWInterface
DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
EncodeWithCoder(coder foundation.INSCoder)
Generation() uint64
HasDNS() bool
HasNAT64() bool
InterfaceIndex() uint64
InterfaceName() string
InternalInterface() objectivec.Object
SetInternalInterface(value objectivec.Object)
Ipv4Broadcast() objectivec.IObject
Ipv4Netmask() objectivec.IObject
IsDeepEqual(equal objectivec.IObject) bool
IsShallowEqual(equal objectivec.IObject) bool
IsUltraConstrained() bool
Mtu() int64
PrivateDescription() string
Subtype() int64
SupportsMulticast() bool
Type() int64
TypeString() string
InitWithCoder(coder foundation.INSCoder) NWInterface
InitWithInterface(interface_ objectivec.IObject) NWInterface
InitWithInterfaceIndex(index uint64) NWInterface
InitWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
InitWithInterfaceName(name objectivec.IObject) NWInterface
IsConstrained() bool
IsExpensive() bool
IsIPv4Routable() bool
IsIPv6Routable() bool
}
SPI: undocumented; may change or disappear between OS releases.
An interface definition for the NWInterface class.
Methods ¶
- INWInterface.CInterface
- INWInterface.CopyLocalAddressForDefaultIPv4
- INWInterface.CopyLocalAddressForDefaultIPv6
- INWInterface.CopyLocalAddressForRemoteAddress
- INWInterface.CreateProtocolBufferObject
- INWInterface.DelegateInterface
- INWInterface.DescriptionWithIndentShowFullContent
- INWInterface.EncodeWithCoder
- INWInterface.Generation
- INWInterface.HasDNS
- INWInterface.HasNAT64
- INWInterface.InterfaceIndex
- INWInterface.InterfaceName
- INWInterface.InternalInterface
- INWInterface.SetInternalInterface
- INWInterface.Ipv4Broadcast
- INWInterface.Ipv4Netmask
- INWInterface.IsDeepEqual
- INWInterface.IsShallowEqual
- INWInterface.IsUltraConstrained
- INWInterface.Mtu
- INWInterface.PrivateDescription
- INWInterface.Subtype
- INWInterface.SupportsMulticast
- INWInterface.Type
- INWInterface.TypeString
- INWInterface.InitWithCoder
- INWInterface.InitWithInterface
- INWInterface.InitWithInterfaceIndex
- INWInterface.InitWithInterfaceIndexInterfaceName
- INWInterface.InitWithInterfaceName
- INWInterface.IsConstrained
- INWInterface.IsExpensive
- INWInterface.IsIPv4Routable
- INWInterface.IsIPv6Routable
type INWParameters ¶
type INWParameters interface {
objectivec.IObject
SSLCipherSuites() foundation.INSSet
SetSSLCipherSuites(value foundation.INSSet)
SSLCipherSuitesInternal() foundation.INSSet
SetSSLCipherSuitesInternal(value foundation.INSSet)
TLSSessionID() foundation.NSData
SetTLSSessionID(value foundation.NSData)
Account() string
SetAccount(value string)
AllowDuplicateStateUpdates() bool
SetAllowDuplicateStateUpdates(value bool)
AllowJoiningConnectedFd() bool
SetAllowJoiningConnectedFd(value bool)
AllowSocketAccess() bool
SetAllowSocketAccess(value bool)
AllowUnusableAddresses() bool
SetAllowUnusableAddresses(value bool)
AttachProtocolListener() bool
SetAttachProtocolListener(value bool)
AvoidNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
AvoidNetworkAgentWithUUID(uuid objectivec.IObject)
CopyCParameters() objectivec.IObject
CopyEffectiveAuditToken(token unsafe.Pointer) bool
CopyRequiredAgentsDescription() objectivec.IObject
CreateProtocolBufferObject() objectivec.IObject
DataMode() uint64
SetDataMode(value uint64)
DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
DisableNagleAlgorithm() bool
SetDisableNagleAlgorithm(value bool)
EffectiveBundleID() string
SetEffectiveBundleID(value string)
EffectiveProcessUUID() foundation.NSUUID
SetEffectiveProcessUUID(value foundation.NSUUID)
EnableTFO() bool
SetEnableTFO(value bool)
EnableTFONoCookie() bool
SetEnableTFONoCookie(value bool)
EnableTLS() bool
SetEnableTLS(value bool)
EncodeWithCoder(coder foundation.INSCoder)
FastOpenForceEnable() bool
SetFastOpenForceEnable(value bool)
HasDelegatedPIDForOriginatingPID(pid int32) bool
HasDelegatedProcessUUID() bool
HasNonEmptyProxyConfiguration() bool
HasPreferredNetworkAgents() bool
HasProhibitedNetworkAgents() bool
HasRequiredNetworkAgents() bool
HttpsProxyIsOpaque() bool
SetHttpsProxyIsOpaque(value bool)
HttpsProxyOverTLS() bool
SetHttpsProxyOverTLS(value bool)
IgnoreResolverStats() bool
SetIgnoreResolverStats(value bool)
Indefinite() bool
SetIndefinite(value bool)
InternalParameters() objectivec.Object
SetInternalParameters(value objectivec.Object)
IpProtocol() byte
KeepAlive() bool
SetKeepAlive(value bool)
KeepAliveIdleTime() uint64
SetKeepAliveIdleTime(value uint64)
KeepAliveInterval() uint64
SetKeepAliveInterval(value uint64)
KeepAliveOffload() bool
SetKeepAliveOffload(value bool)
LocalAddress() unsafe.Pointer
SetLocalAddress(value unsafe.Pointer)
MaximumSSLProtocolVersion() uint64
SetMaximumSSLProtocolVersion(value uint64)
MaximumSSLProtocolVersionInternal() uint64
SetMaximumSSLProtocolVersionInternal(value uint64)
Metadata() foundation.NSData
SetMetadata(value foundation.NSData)
MinimumSSLProtocolVersion() uint64
SetMinimumSSLProtocolVersion(value uint64)
MinimumSSLProtocolVersionInternal() uint64
SetMinimumSSLProtocolVersionInternal(value uint64)
Multipath() bool
SetMultipath(value bool)
MultipathForceEnable() bool
SetMultipathForceEnable(value bool)
MultipathService() int32
SetMultipathService(value int32)
NoProxy() bool
SetNoProxy(value bool)
ParentID() foundation.NSUUID
SetParentID(value foundation.NSUUID)
ParentIDs() foundation.INSArray
Pid() int32
SetPid(value int32)
PreferNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
PreferNetworkAgentWithUUID(uuid objectivec.IObject)
PreferNoProxy() bool
SetPreferNoProxy(value bool)
PrivateDescription() string
ProcessUUID() foundation.NSUUID
SetProcessUUID(value foundation.NSUUID)
ProhibitCellular() bool
ProhibitConstrainedPaths() bool
SetProhibitConstrainedPaths(value bool)
ProhibitExpensivePaths() bool
SetProhibitExpensivePaths(value bool)
ProhibitFallback() bool
SetProhibitFallback(value bool)
ProhibitInterface(interface_ objectivec.IObject)
ProhibitInterfaceSubtype(subtype int64)
ProhibitInterfaceType(type_ int64)
ProhibitJoiningProtocols() bool
SetProhibitJoiningProtocols(value bool)
ProhibitNetworkAgentWithUUID(uuid objectivec.IObject)
ProhibitNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
ProhibitRoaming() bool
SetProhibitRoaming(value bool)
ProtocolTransforms() foundation.INSArray
SetProtocolTransforms(value foundation.INSArray)
ProxyConfiguration() foundation.INSDictionary
SetProxyConfiguration(value foundation.INSDictionary)
ReduceBuffering() bool
SetReduceBuffering(value bool)
RequireNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
RequireNetworkAgentWithUUID(uuid objectivec.IObject)
RequiredAddressFamily() byte
SetRequiredAddressFamily(value byte)
RequiredCompanionProxyInterfaceType() int64
SetRequiredCompanionProxyInterfaceType(value int64)
RequiredInterface() INWInterface
SetRequiredInterface(value INWInterface)
RequiredInterfaceSubtype() int64
SetRequiredInterfaceSubtype(value int64)
RequiredInterfaceType() int64
SetRequiredInterfaceType(value int64)
ResolvePTR() bool
SetResolvePTR(value bool)
ReuseLocalAddress() bool
SetReuseLocalAddress(value bool)
SanitizedURL() foundation.NSURL
SetInitialDataPayload(payload objectivec.IObject)
SetSourceApplicationWithBundleID(id objectivec.IObject)
TlsVersionWithSSLProtocol(sSLProtocol int32) uint16
TrafficClass() uint64
SetTrafficClass(value uint64)
TransportProtocol() byte
TrustInvalidCertificates() bool
SetTrustInvalidCertificates(value bool)
Uid() uint32
SetUid(value uint32)
Url() foundation.NSURL
SetUrl(value foundation.NSURL)
UseAWDL() bool
SetUseAWDL(value bool)
UseLongOutstandingQueries() bool
SetUseLongOutstandingQueries(value bool)
UseP2P() bool
SetUseP2P(value bool)
InitWithCoder(coder foundation.INSCoder) NWParameters
InitWithParameters(parameters objectivec.IObject) NWParameters
IsDiscretionary() bool
SetDiscretionary(value bool)
IsDryRun() bool
IsValid() bool
}
SPI: undocumented; may change or disappear between OS releases.
An interface definition for the NWParameters class.
Methods ¶
- INWParameters.SSLCipherSuites
- INWParameters.SetSSLCipherSuites
- INWParameters.SSLCipherSuitesInternal
- INWParameters.SetSSLCipherSuitesInternal
- INWParameters.TLSSessionID
- INWParameters.SetTLSSessionID
- INWParameters.Account
- INWParameters.SetAccount
- INWParameters.AllowDuplicateStateUpdates
- INWParameters.SetAllowDuplicateStateUpdates
- INWParameters.AllowJoiningConnectedFd
- INWParameters.SetAllowJoiningConnectedFd
- INWParameters.AllowSocketAccess
- INWParameters.SetAllowSocketAccess
- INWParameters.AllowUnusableAddresses
- INWParameters.SetAllowUnusableAddresses
- INWParameters.AttachProtocolListener
- INWParameters.SetAttachProtocolListener
- INWParameters.AvoidNetworkAgentWithDomainType
- INWParameters.AvoidNetworkAgentWithUUID
- INWParameters.CopyCParameters
- INWParameters.CopyEffectiveAuditToken
- INWParameters.CopyRequiredAgentsDescription
- INWParameters.CreateProtocolBufferObject
- INWParameters.DataMode
- INWParameters.SetDataMode
- INWParameters.DescriptionWithIndentShowFullContent
- INWParameters.DisableNagleAlgorithm
- INWParameters.SetDisableNagleAlgorithm
- INWParameters.EffectiveBundleID
- INWParameters.SetEffectiveBundleID
- INWParameters.EffectiveProcessUUID
- INWParameters.SetEffectiveProcessUUID
- INWParameters.EnableTFO
- INWParameters.SetEnableTFO
- INWParameters.EnableTFONoCookie
- INWParameters.SetEnableTFONoCookie
- INWParameters.EnableTLS
- INWParameters.SetEnableTLS
- INWParameters.EncodeWithCoder
- INWParameters.FastOpenForceEnable
- INWParameters.SetFastOpenForceEnable
- INWParameters.HasDelegatedPIDForOriginatingPID
- INWParameters.HasDelegatedProcessUUID
- INWParameters.HasNonEmptyProxyConfiguration
- INWParameters.HasPreferredNetworkAgents
- INWParameters.HasProhibitedNetworkAgents
- INWParameters.HasRequiredNetworkAgents
- INWParameters.HttpsProxyIsOpaque
- INWParameters.SetHttpsProxyIsOpaque
- INWParameters.HttpsProxyOverTLS
- INWParameters.SetHttpsProxyOverTLS
- INWParameters.IgnoreResolverStats
- INWParameters.SetIgnoreResolverStats
- INWParameters.Indefinite
- INWParameters.SetIndefinite
- INWParameters.InternalParameters
- INWParameters.SetInternalParameters
- INWParameters.IpProtocol
- INWParameters.KeepAlive
- INWParameters.SetKeepAlive
- INWParameters.KeepAliveIdleTime
- INWParameters.SetKeepAliveIdleTime
- INWParameters.KeepAliveInterval
- INWParameters.SetKeepAliveInterval
- INWParameters.KeepAliveOffload
- INWParameters.SetKeepAliveOffload
- INWParameters.LocalAddress
- INWParameters.SetLocalAddress
- INWParameters.MaximumSSLProtocolVersion
- INWParameters.SetMaximumSSLProtocolVersion
- INWParameters.MaximumSSLProtocolVersionInternal
- INWParameters.SetMaximumSSLProtocolVersionInternal
- INWParameters.Metadata
- INWParameters.SetMetadata
- INWParameters.MinimumSSLProtocolVersion
- INWParameters.SetMinimumSSLProtocolVersion
- INWParameters.MinimumSSLProtocolVersionInternal
- INWParameters.SetMinimumSSLProtocolVersionInternal
- INWParameters.Multipath
- INWParameters.SetMultipath
- INWParameters.MultipathForceEnable
- INWParameters.SetMultipathForceEnable
- INWParameters.MultipathService
- INWParameters.SetMultipathService
- INWParameters.NoProxy
- INWParameters.SetNoProxy
- INWParameters.ParentID
- INWParameters.SetParentID
- INWParameters.ParentIDs
- INWParameters.Pid
- INWParameters.SetPid
- INWParameters.PreferNetworkAgentWithDomainType
- INWParameters.PreferNetworkAgentWithUUID
- INWParameters.PreferNoProxy
- INWParameters.SetPreferNoProxy
- INWParameters.PrivateDescription
- INWParameters.ProcessUUID
- INWParameters.SetProcessUUID
- INWParameters.ProhibitCellular
- INWParameters.ProhibitConstrainedPaths
- INWParameters.SetProhibitConstrainedPaths
- INWParameters.ProhibitExpensivePaths
- INWParameters.SetProhibitExpensivePaths
- INWParameters.ProhibitFallback
- INWParameters.SetProhibitFallback
- INWParameters.ProhibitInterface
- INWParameters.ProhibitInterfaceSubtype
- INWParameters.ProhibitInterfaceType
- INWParameters.ProhibitJoiningProtocols
- INWParameters.SetProhibitJoiningProtocols
- INWParameters.ProhibitNetworkAgentWithUUID
- INWParameters.ProhibitNetworkAgentsWithDomainType
- INWParameters.ProhibitRoaming
- INWParameters.SetProhibitRoaming
- INWParameters.ProtocolTransforms
- INWParameters.SetProtocolTransforms
- INWParameters.ProxyConfiguration
- INWParameters.SetProxyConfiguration
- INWParameters.ReduceBuffering
- INWParameters.SetReduceBuffering
- INWParameters.RequireNetworkAgentWithDomainType
- INWParameters.RequireNetworkAgentWithUUID
- INWParameters.RequiredAddressFamily
- INWParameters.SetRequiredAddressFamily
- INWParameters.RequiredCompanionProxyInterfaceType
- INWParameters.SetRequiredCompanionProxyInterfaceType
- INWParameters.RequiredInterface
- INWParameters.SetRequiredInterface
- INWParameters.RequiredInterfaceSubtype
- INWParameters.SetRequiredInterfaceSubtype
- INWParameters.RequiredInterfaceType
- INWParameters.SetRequiredInterfaceType
- INWParameters.ResolvePTR
- INWParameters.SetResolvePTR
- INWParameters.ReuseLocalAddress
- INWParameters.SetReuseLocalAddress
- INWParameters.SanitizedURL
- INWParameters.SetInitialDataPayload
- INWParameters.SetSourceApplicationWithBundleID
- INWParameters.TlsVersionWithSSLProtocol
- INWParameters.TrafficClass
- INWParameters.SetTrafficClass
- INWParameters.TransportProtocol
- INWParameters.TrustInvalidCertificates
- INWParameters.SetTrustInvalidCertificates
- INWParameters.Uid
- INWParameters.SetUid
- INWParameters.Url
- INWParameters.SetUrl
- INWParameters.UseAWDL
- INWParameters.SetUseAWDL
- INWParameters.UseLongOutstandingQueries
- INWParameters.SetUseLongOutstandingQueries
- INWParameters.UseP2P
- INWParameters.SetUseP2P
- INWParameters.InitWithCoder
- INWParameters.InitWithParameters
- INWParameters.IsDiscretionary
- INWParameters.SetDiscretionary
- INWParameters.IsDryRun
- INWParameters.IsValid
type INWPath ¶
type INWPath interface {
objectivec.IObject
AdvertiseDescriptor() INWAdvertiseDescriptor
BrowseDescriptor() INWBrowseDescriptor
CPath() objectivec.Object
ClientID() foundation.NSUUID
ConnectedInterface() INWInterface
CopyDNSSearchDomains(domains bool) objectivec.IObject
CopyDNSServerEndpoints(endpoints bool) objectivec.IObject
CopyDNSServersStrings(strings objectivec.IObject) objectivec.IObject
CopyDataFromNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
CopyFlowDivertToken() objectivec.IObject
CreateProtocolBufferObject() objectivec.IObject
DelegateInterface() objectivec.IObject
DerivedParameters() INWParameters
DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
DnsSearchDomains() foundation.INSArray
DnsServers() foundation.INSArray
DnsServersAsStrings() foundation.INSArray
DnsServiceID() int32
EffectiveLocalEndpoint() INWEndpoint
EffectiveRemoteEndpoint() INWEndpoint
Endpoint() INWEndpoint
FallbackEligible() bool
FallbackInterface() INWInterface
FallbackInterfaceIndex() uint32
FallbackIsPreferred() bool
FallbackIsWeak() bool
FilterControlUnit() uint32
FlowDivertAggregateUnit() uint32
FlowDivertControlUnit() uint32
Flows() foundation.INSArray
Gateways() foundation.INSArray
GenericNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
GroupMembers() foundation.INSArray
HasAdvertiseDescriptor() bool
HasApplicationLevelFirewall() bool
HasBrowseDescriptor() bool
HasCustomPFRules() bool
HasKernelExtensionFilter() bool
HasParentalControls() bool
HasProxySettings() bool
HasUnsatisfiedFallbackAgent() bool
InactiveNetworkAgentUUIDsOnlyVoluntary(voluntary bool) objectivec.IObject
Interface() INWInterface
InternalPath() objectivec.Object
IsEqualToPath(path objectivec.IObject) bool
IsLinkQualityAbort() bool
IsListenerInterfaceSpecific() bool
IsUltraConstrained() bool
MaximumDatagramSize() int64
Mtu() int64
NetworkAgentsOfType(type_ objc.Class) objectivec.IObject
OverrideDNSSearchDomains() foundation.INSArray
OverrideDNSServers() foundation.INSArray
OverrideDNSServersAsStrings() foundation.INSArray
Parameters() INWParameters
PolicyID() uint32
PrivateDescription() string
ProxySettings() foundation.INSArray
Reason() int64
ReasonDescription() string
ScopedInterface() INWInterface
SecondsSinceInterfaceChange() uint64
ShouldProbeConnectivity() bool
Status() int64
StatusAsString() string
SupportsDNS() bool
SupportsIPv4() bool
SupportsIPv6() bool
UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately(address objectivec.IObject) (bool, bool)
UsesCompanion() bool
UsesInterfaceType(type_ int64) bool
UsesNetworkAgent(agent objectivec.IObject) bool
UsesNetworkAgentType(type_ objc.Class) bool
InitWithPath(path objectivec.IObject) NWPath
IsConstrained() bool
IsDirect() bool
IsEligibleForCrazyIvan46() bool
IsExpensive() bool
IsFiltered() bool
IsFlowDivert() bool
IsListener() bool
IsLocal() bool
IsPerAppVPN() bool
IsRoaming() bool
IsViable() bool
}
SPI: undocumented; may change or disappear between OS releases.
An interface definition for the NWPath class.
Methods ¶
- INWPath.AdvertiseDescriptor
- INWPath.BrowseDescriptor
- INWPath.CPath
- INWPath.ClientID
- INWPath.ConnectedInterface
- INWPath.CopyDNSSearchDomains
- INWPath.CopyDNSServerEndpoints
- INWPath.CopyDNSServersStrings
- INWPath.CopyDataFromNetworkAgentWithDomainType
- INWPath.CopyFlowDivertToken
- INWPath.CreateProtocolBufferObject
- INWPath.DelegateInterface
- INWPath.DerivedParameters
- INWPath.DescriptionWithIndentShowFullContent
- INWPath.DnsSearchDomains
- INWPath.DnsServers
- INWPath.DnsServersAsStrings
- INWPath.DnsServiceID
- INWPath.EffectiveLocalEndpoint
- INWPath.EffectiveRemoteEndpoint
- INWPath.Endpoint
- INWPath.FallbackEligible
- INWPath.FallbackInterface
- INWPath.FallbackInterfaceIndex
- INWPath.FallbackIsPreferred
- INWPath.FallbackIsWeak
- INWPath.FilterControlUnit
- INWPath.FlowDivertAggregateUnit
- INWPath.FlowDivertControlUnit
- INWPath.Flows
- INWPath.Gateways
- INWPath.GenericNetworkAgentsWithDomainType
- INWPath.GroupMembers
- INWPath.HasAdvertiseDescriptor
- INWPath.HasApplicationLevelFirewall
- INWPath.HasBrowseDescriptor
- INWPath.HasCustomPFRules
- INWPath.HasKernelExtensionFilter
- INWPath.HasParentalControls
- INWPath.HasProxySettings
- INWPath.HasUnsatisfiedFallbackAgent
- INWPath.InactiveNetworkAgentUUIDsOnlyVoluntary
- INWPath.Interface
- INWPath.InternalPath
- INWPath.IsEqualToPath
- INWPath.IsLinkQualityAbort
- INWPath.IsListenerInterfaceSpecific
- INWPath.IsUltraConstrained
- INWPath.MaximumDatagramSize
- INWPath.Mtu
- INWPath.NetworkAgentsOfType
- INWPath.OverrideDNSSearchDomains
- INWPath.OverrideDNSServers
- INWPath.OverrideDNSServersAsStrings
- INWPath.Parameters
- INWPath.PolicyID
- INWPath.PrivateDescription
- INWPath.ProxySettings
- INWPath.Reason
- INWPath.ReasonDescription
- INWPath.ScopedInterface
- INWPath.SecondsSinceInterfaceChange
- INWPath.ShouldProbeConnectivity
- INWPath.Status
- INWPath.StatusAsString
- INWPath.SupportsDNS
- INWPath.SupportsIPv4
- INWPath.SupportsIPv6
- INWPath.UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately
- INWPath.UsesCompanion
- INWPath.UsesInterfaceType
- INWPath.UsesNetworkAgent
- INWPath.UsesNetworkAgentType
- INWPath.InitWithPath
- INWPath.IsConstrained
- INWPath.IsDirect
- INWPath.IsEligibleForCrazyIvan46
- INWPath.IsExpensive
- INWPath.IsFiltered
- INWPath.IsFlowDivert
- INWPath.IsListener
- INWPath.IsLocal
- INWPath.IsPerAppVPN
- INWPath.IsRoaming
- INWPath.IsViable
type NSCopying ¶
type NSCopying interface {
objectivec.IObject
}
SPI: undocumented; may change or disappear between OS releases.
NSCopying protocol.
type NSCopyingObject ¶
type NSCopyingObject struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
NSCopyingObject wraps an existing Objective-C object that conforms to the NSCopying protocol.
func NSCopyingObjectFromID ¶
func NSCopyingObjectFromID(id objc.ID) NSCopyingObject
SPI: undocumented; may change or disappear between OS releases.
NSCopyingObjectFromID constructs a NSCopyingObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (NSCopyingObject) BaseObject ¶
func (o NSCopyingObject) BaseObject() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
type NSSecureCoding ¶
type NSSecureCoding interface {
objectivec.IObject
// SupportsSecureCoding protocol.
SupportsSecureCoding() bool
}
SPI: undocumented; may change or disappear between OS releases.
NSSecureCoding protocol.
type NSSecureCodingObject ¶
type NSSecureCodingObject struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
NSSecureCodingObject wraps an existing Objective-C object that conforms to the NSSecureCoding protocol.
func NSSecureCodingObjectFromID ¶
func NSSecureCodingObjectFromID(id objc.ID) NSSecureCodingObject
SPI: undocumented; may change or disappear between OS releases.
NSSecureCodingObjectFromID constructs a NSSecureCodingObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (NSSecureCodingObject) BaseObject ¶
func (o NSSecureCodingObject) BaseObject() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NSSecureCodingObject) SupportsSecureCoding ¶
func (o NSSecureCodingObject) SupportsSecureCoding() bool
SPI: undocumented; may change or disappear between OS releases.
type NWAdvertiseDescriptor ¶
type NWAdvertiseDescriptor struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
Methods ¶
- NWAdvertiseDescriptor.BonjourServiceDomain
- NWAdvertiseDescriptor.BonjourServiceName
- NWAdvertiseDescriptor.BonjourServiceType
- NWAdvertiseDescriptor.DescriptionWithIndentShowFullContent
- NWAdvertiseDescriptor.InternalDescriptor
- NWAdvertiseDescriptor.SetInternalDescriptor
- NWAdvertiseDescriptor.PrivateDescription
- NWAdvertiseDescriptor.TxtRecord
- NWAdvertiseDescriptor.SetTxtRecord
- NWAdvertiseDescriptor.InitWithDescriptor
- NWAdvertiseDescriptor.InitWithNameTypeDomain
func NWAdvertiseDescriptorFromID ¶
func NWAdvertiseDescriptorFromID(id objc.ID) NWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
NWAdvertiseDescriptorFromID constructs a NWAdvertiseDescriptor from an objc.ID.
func NewNWAdvertiseDescriptor ¶
func NewNWAdvertiseDescriptor() NWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
NewNWAdvertiseDescriptor creates a new NWAdvertiseDescriptor instance.
func NewNWAdvertiseDescriptorWithDescriptor ¶
func NewNWAdvertiseDescriptorWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func NewNWAdvertiseDescriptorWithNameTypeDomain ¶
func NewNWAdvertiseDescriptorWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) Autorelease ¶
func (n NWAdvertiseDescriptor) Autorelease() NWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
Autorelease adds the receiver to the current autorelease pool.
func (NWAdvertiseDescriptor) BonjourServiceDomain ¶
func (n NWAdvertiseDescriptor) BonjourServiceDomain() string
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) BonjourServiceName ¶
func (n NWAdvertiseDescriptor) BonjourServiceName() string
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) BonjourServiceType ¶
func (n NWAdvertiseDescriptor) BonjourServiceType() string
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) DescriptionWithIndentShowFullContent ¶
func (n NWAdvertiseDescriptor) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) Init ¶
func (n NWAdvertiseDescriptor) Init() NWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
Init initializes the instance.
func (NWAdvertiseDescriptor) InitWithDescriptor ¶
func (n NWAdvertiseDescriptor) InitWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) InitWithNameTypeDomain ¶
func (n NWAdvertiseDescriptor) InitWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) InternalDescriptor ¶
func (n NWAdvertiseDescriptor) InternalDescriptor() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) PrivateDescription ¶
func (n NWAdvertiseDescriptor) PrivateDescription() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) SetInternalDescriptor ¶
func (n NWAdvertiseDescriptor) SetInternalDescriptor(value objectivec.Object)
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) SetTxtRecord ¶
func (n NWAdvertiseDescriptor) SetTxtRecord(value foundation.NSData)
SPI: undocumented; may change or disappear between OS releases.
func (NWAdvertiseDescriptor) TxtRecord ¶
func (n NWAdvertiseDescriptor) TxtRecord() foundation.NSData
SPI: undocumented; may change or disappear between OS releases.
type NWAdvertiseDescriptorClass ¶
type NWAdvertiseDescriptorClass struct {
// contains filtered or unexported fields
}
SPI: undocumented; may change or disappear between OS releases.
func GetNWAdvertiseDescriptorClass ¶
func GetNWAdvertiseDescriptorClass() NWAdvertiseDescriptorClass
SPI: undocumented; may change or disappear between OS releases.
GetNWAdvertiseDescriptorClass returns the class object for NWAdvertiseDescriptor.
func (NWAdvertiseDescriptorClass) Alloc ¶
func (nc NWAdvertiseDescriptorClass) Alloc() NWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
Alloc allocates memory for a new instance of the class.
func (NWAdvertiseDescriptorClass) Class ¶
func (nc NWAdvertiseDescriptorClass) Class() objc.Class
SPI: undocumented; may change or disappear between OS releases.
Class returns the underlying Objective-C class pointer.
type NWBrowseDescriptor ¶
type NWBrowseDescriptor struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
Methods ¶
- NWBrowseDescriptor.BonjourServiceDomain
- NWBrowseDescriptor.BonjourServiceType
- NWBrowseDescriptor.BrowseWithCompletionHandler
- NWBrowseDescriptor.CreateProtocolBufferObject
- NWBrowseDescriptor.DescriptionWithIndentShowFullContent
- NWBrowseDescriptor.EncodedData
- NWBrowseDescriptor.InternalDescriptor
- NWBrowseDescriptor.SetInternalDescriptor
- NWBrowseDescriptor.PrivateDescription
- NWBrowseDescriptor.InitWithDescriptor
- NWBrowseDescriptor.InitWithEncodedData
func NWBrowseDescriptorFromID ¶
func NWBrowseDescriptorFromID(id objc.ID) NWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
NWBrowseDescriptorFromID constructs a NWBrowseDescriptor from an objc.ID.
func NewNWBrowseDescriptor ¶
func NewNWBrowseDescriptor() NWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
NewNWBrowseDescriptor creates a new NWBrowseDescriptor instance.
func NewNWBrowseDescriptorWithDescriptor ¶
func NewNWBrowseDescriptorWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func NewNWBrowseDescriptorWithEncodedData ¶
func NewNWBrowseDescriptorWithEncodedData(data objectivec.IObject) NWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) Autorelease ¶
func (n NWBrowseDescriptor) Autorelease() NWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
Autorelease adds the receiver to the current autorelease pool.
func (NWBrowseDescriptor) BonjourServiceDomain ¶
func (n NWBrowseDescriptor) BonjourServiceDomain() string
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) BonjourServiceType ¶
func (n NWBrowseDescriptor) BonjourServiceType() string
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) Browse ¶
func (n NWBrowseDescriptor) Browse(ctx context.Context) error
SPI: undocumented; may change or disappear between OS releases.
Browse is a synchronous wrapper around NWBrowseDescriptor.BrowseWithCompletionHandler. It blocks until the completion handler fires or the context is cancelled.
func (NWBrowseDescriptor) BrowseWithCompletionHandler ¶
func (n NWBrowseDescriptor) BrowseWithCompletionHandler(handler ErrorHandler)
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) CreateProtocolBufferObject ¶
func (n NWBrowseDescriptor) CreateProtocolBufferObject() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) DescriptionWithIndentShowFullContent ¶
func (n NWBrowseDescriptor) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) EncodedData ¶
func (n NWBrowseDescriptor) EncodedData() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) Init ¶
func (n NWBrowseDescriptor) Init() NWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
Init initializes the instance.
func (NWBrowseDescriptor) InitWithDescriptor ¶
func (n NWBrowseDescriptor) InitWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) InitWithEncodedData ¶
func (n NWBrowseDescriptor) InitWithEncodedData(data objectivec.IObject) NWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) InternalDescriptor ¶
func (n NWBrowseDescriptor) InternalDescriptor() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) PrivateDescription ¶
func (n NWBrowseDescriptor) PrivateDescription() string
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptor) SetInternalDescriptor ¶
func (n NWBrowseDescriptor) SetInternalDescriptor(value objectivec.Object)
SPI: undocumented; may change or disappear between OS releases.
type NWBrowseDescriptorClass ¶
type NWBrowseDescriptorClass struct {
// contains filtered or unexported fields
}
SPI: undocumented; may change or disappear between OS releases.
func GetNWBrowseDescriptorClass ¶
func GetNWBrowseDescriptorClass() NWBrowseDescriptorClass
SPI: undocumented; may change or disappear between OS releases.
GetNWBrowseDescriptorClass returns the class object for NWBrowseDescriptor.
func (NWBrowseDescriptorClass) Alloc ¶
func (nc NWBrowseDescriptorClass) Alloc() NWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
Alloc allocates memory for a new instance of the class.
func (NWBrowseDescriptorClass) Class ¶
func (nc NWBrowseDescriptorClass) Class() objc.Class
SPI: undocumented; may change or disappear between OS releases.
Class returns the underlying Objective-C class pointer.
func (NWBrowseDescriptorClass) CopyClassForDescriptorType ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) CopyClassForDescriptorType(type_ int32) objc.Class
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptorClass) DescriptorType ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorType() uint32
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptorClass) DescriptorWithInternalDescriptor ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorWithInternalDescriptor(descriptor objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptorClass) DescriptorWithProtocolBufferData ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowseDescriptorClass) SupportsBrowseCallback ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) SupportsBrowseCallback() bool
SPI: undocumented; may change or disappear between OS releases.
type NWBrowser ¶
type NWBrowser struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
Methods ¶
- NWBrowser.Cancel
- NWBrowser.CopyDiscoveredEndpoints
- NWBrowser.Descriptor
- NWBrowser.DiscoveredEndpoints
- NWBrowser.InternalBrowser
- NWBrowser.InternalDiscoveredEndpoints
- NWBrowser.SetInternalDiscoveredEndpoints
- NWBrowser.Parameters
- NWBrowser.SetUpdateHandler
- NWBrowser.InitWithDescriptorParameters
func NWBrowserFromID ¶
SPI: undocumented; may change or disappear between OS releases.
NWBrowserFromID constructs a NWBrowser from an objc.ID.
func NewNWBrowser ¶
func NewNWBrowser() NWBrowser
SPI: undocumented; may change or disappear between OS releases.
NewNWBrowser creates a new NWBrowser instance.
func NewNWBrowserWithDescriptorParameters ¶
func NewNWBrowserWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) Autorelease ¶
SPI: undocumented; may change or disappear between OS releases.
Autorelease adds the receiver to the current autorelease pool.
func (NWBrowser) Cancel ¶
func (n NWBrowser) Cancel()
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) CopyDiscoveredEndpoints ¶
func (n NWBrowser) CopyDiscoveredEndpoints() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) Descriptor ¶
func (n NWBrowser) Descriptor() INWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) DiscoveredEndpoints ¶
func (n NWBrowser) DiscoveredEndpoints() foundation.INSSet
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) Init ¶
SPI: undocumented; may change or disappear between OS releases.
Init initializes the instance.
func (NWBrowser) InitWithDescriptorParameters ¶
func (n NWBrowser) InitWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) InternalBrowser ¶
func (n NWBrowser) InternalBrowser() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) InternalDiscoveredEndpoints ¶
func (n NWBrowser) InternalDiscoveredEndpoints() foundation.INSSet
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) Parameters ¶
func (n NWBrowser) Parameters() INWParameters
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) SetInternalDiscoveredEndpoints ¶
func (n NWBrowser) SetInternalDiscoveredEndpoints(value foundation.INSSet)
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowser) SetUpdateHandler ¶
func (n NWBrowser) SetUpdateHandler()
SPI: undocumented; may change or disappear between OS releases.
type NWBrowserClass ¶
type NWBrowserClass struct {
// contains filtered or unexported fields
}
SPI: undocumented; may change or disappear between OS releases.
func GetNWBrowserClass ¶
func GetNWBrowserClass() NWBrowserClass
SPI: undocumented; may change or disappear between OS releases.
GetNWBrowserClass returns the class object for NWBrowser.
func (NWBrowserClass) Alloc ¶
func (nc NWBrowserClass) Alloc() NWBrowser
SPI: undocumented; may change or disappear between OS releases.
Alloc allocates memory for a new instance of the class.
func (NWBrowserClass) AutomaticallyNotifiesObserversForKey ¶
func (_NWBrowserClass NWBrowserClass) AutomaticallyNotifiesObserversForKey(key objectivec.IObject) bool
SPI: undocumented; may change or disappear between OS releases.
func (NWBrowserClass) Class ¶
func (nc NWBrowserClass) Class() objc.Class
SPI: undocumented; may change or disappear between OS releases.
Class returns the underlying Objective-C class pointer.
type NWConnection ¶
type NWConnection struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
Methods ¶
- NWConnection.Cancel
- NWConnection.CancelCurrentEndpoint
- NWConnection.ConnectedLocalEndpoint
- NWConnection.ConnectedRemoteEndpoint
- NWConnection.ConnectionState
- NWConnection.CopyCurrentPath
- NWConnection.CopyError
- NWConnection.CurrentPath
- NWConnection.Endpoint
- NWConnection.Error
- NWConnection.ForceCancel
- NWConnection.GetConnectedSocket
- NWConnection.HasBetterPath
- NWConnection.InternalConnection
- NWConnection.SetInternalConnection
- NWConnection.InternalConnectionState
- NWConnection.SetInternalConnectionState
- NWConnection.InternalError
- NWConnection.SetInternalError
- NWConnection.InternalHasBetterPath
- NWConnection.SetInternalHasBetterPath
- NWConnection.InternalIsViable
- NWConnection.SetInternalIsViable
- NWConnection.InternalPath
- NWConnection.SetInternalPath
- NWConnection.Parameters
- NWConnection.Start
- NWConnection.TlsConnectionTime
- NWConnection.InitWithConnectedSocket
- NWConnection.InitWithEndpointParameters
- NWConnection.InitWithInternalConnection
- NWConnection.IsViable
func NWConnectionFromID ¶
func NWConnectionFromID(id objc.ID) NWConnection
SPI: undocumented; may change or disappear between OS releases.
NWConnectionFromID constructs a NWConnection from an objc.ID.
func NewNWConnection ¶
func NewNWConnection() NWConnection
SPI: undocumented; may change or disappear between OS releases.
NewNWConnection creates a new NWConnection instance.
func NewNWConnectionWithConnectedSocket ¶
func NewNWConnectionWithConnectedSocket(socket int32) NWConnection
SPI: undocumented; may change or disappear between OS releases.
func NewNWConnectionWithEndpointParameters ¶
func NewNWConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
SPI: undocumented; may change or disappear between OS releases.
func NewNWConnectionWithInternalConnection ¶
func NewNWConnectionWithInternalConnection(connection objectivec.IObject) NWConnection
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) Autorelease ¶
func (n NWConnection) Autorelease() NWConnection
SPI: undocumented; may change or disappear between OS releases.
Autorelease adds the receiver to the current autorelease pool.
func (NWConnection) Cancel ¶
func (n NWConnection) Cancel()
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) CancelCurrentEndpoint ¶
func (n NWConnection) CancelCurrentEndpoint()
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) ConnectedLocalEndpoint ¶
func (n NWConnection) ConnectedLocalEndpoint() INWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) ConnectedRemoteEndpoint ¶
func (n NWConnection) ConnectedRemoteEndpoint() INWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) ConnectionState ¶
func (n NWConnection) ConnectionState() int64
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) CopyCurrentPath ¶
func (n NWConnection) CopyCurrentPath() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) CopyError ¶
func (n NWConnection) CopyError() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) CurrentPath ¶
func (n NWConnection) CurrentPath() INWPath
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) Endpoint ¶
func (n NWConnection) Endpoint() INWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) Error ¶
func (n NWConnection) Error() foundation.NSError
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) ForceCancel ¶
func (n NWConnection) ForceCancel()
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) GetConnectedSocket ¶
func (n NWConnection) GetConnectedSocket() int32
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) HasBetterPath ¶
func (n NWConnection) HasBetterPath() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) Init ¶
func (n NWConnection) Init() NWConnection
SPI: undocumented; may change or disappear between OS releases.
Init initializes the instance.
func (NWConnection) InitWithConnectedSocket ¶
func (n NWConnection) InitWithConnectedSocket(socket int32) NWConnection
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) InitWithEndpointParameters ¶
func (n NWConnection) InitWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) InitWithInternalConnection ¶
func (n NWConnection) InitWithInternalConnection(connection objectivec.IObject) NWConnection
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) InternalConnection ¶
func (n NWConnection) InternalConnection() unsafe.Pointer
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) InternalConnectionState ¶
func (n NWConnection) InternalConnectionState() int64
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) InternalError ¶
func (n NWConnection) InternalError() foundation.NSError
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) InternalHasBetterPath ¶
func (n NWConnection) InternalHasBetterPath() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) InternalIsViable ¶
func (n NWConnection) InternalIsViable() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) InternalPath ¶
func (n NWConnection) InternalPath() INWPath
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) IsViable ¶
func (n NWConnection) IsViable() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) Parameters ¶
func (n NWConnection) Parameters() INWParameters
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) SetInternalConnection ¶
func (n NWConnection) SetInternalConnection(value unsafe.Pointer)
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) SetInternalConnectionState ¶
func (n NWConnection) SetInternalConnectionState(value int64)
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) SetInternalError ¶
func (n NWConnection) SetInternalError(value foundation.NSError)
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) SetInternalHasBetterPath ¶
func (n NWConnection) SetInternalHasBetterPath(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) SetInternalIsViable ¶
func (n NWConnection) SetInternalIsViable(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) SetInternalPath ¶
func (n NWConnection) SetInternalPath(value INWPath)
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) Start ¶
func (n NWConnection) Start()
SPI: undocumented; may change or disappear between OS releases.
func (NWConnection) TlsConnectionTime ¶
func (n NWConnection) TlsConnectionTime() uint32
SPI: undocumented; may change or disappear between OS releases.
type NWConnectionClass ¶
type NWConnectionClass struct {
// contains filtered or unexported fields
}
SPI: undocumented; may change or disappear between OS releases.
func GetNWConnectionClass ¶
func GetNWConnectionClass() NWConnectionClass
SPI: undocumented; may change or disappear between OS releases.
GetNWConnectionClass returns the class object for NWConnection.
func (NWConnectionClass) Alloc ¶
func (nc NWConnectionClass) Alloc() NWConnection
SPI: undocumented; may change or disappear between OS releases.
Alloc allocates memory for a new instance of the class.
func (NWConnectionClass) AutomaticallyNotifiesObserversForKey ¶
func (_NWConnectionClass NWConnectionClass) AutomaticallyNotifiesObserversForKey(key objectivec.IObject) bool
SPI: undocumented; may change or disappear between OS releases.
func (NWConnectionClass) Class ¶
func (nc NWConnectionClass) Class() objc.Class
SPI: undocumented; may change or disappear between OS releases.
Class returns the underlying Objective-C class pointer.
func (NWConnectionClass) ConnectionWithConnectedSocket ¶
func (_NWConnectionClass NWConnectionClass) ConnectionWithConnectedSocket(socket int32) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWConnectionClass) ConnectionWithEndpointParameters ¶
func (_NWConnectionClass NWConnectionClass) ConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWConnectionClass) ConnectionWithInternalConnection ¶
func (_NWConnectionClass NWConnectionClass) ConnectionWithInternalConnection(connection objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
type NWEndpoint ¶
type NWEndpoint struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
Methods ¶
- NWEndpoint.AlternatePort
- NWEndpoint.SetAlternatePort
- NWEndpoint.CopyCEndpoint
- NWEndpoint.CreateProtocolBufferObject
- NWEndpoint.DescriptionWithIndentShowFullContent
- NWEndpoint.EncodeWithCoder
- NWEndpoint.EncodedData
- NWEndpoint.Interface
- NWEndpoint.SetInterface
- NWEndpoint.InternalEndpoint
- NWEndpoint.SetInternalEndpoint
- NWEndpoint.ParentEndpointDomain
- NWEndpoint.PrivateDescription
- NWEndpoint.RemoteInterfaceType
- NWEndpoint.SetRemoteInterfaceType
- NWEndpoint.TxtRecord
- NWEndpoint.SetTxtRecord
- NWEndpoint.InitWithCoder
- NWEndpoint.InitWithEndpoint
func NWEndpointFromID ¶
func NWEndpointFromID(id objc.ID) NWEndpoint
SPI: undocumented; may change or disappear between OS releases.
NWEndpointFromID constructs a NWEndpoint from an objc.ID.
func NewNWEndpoint ¶
func NewNWEndpoint() NWEndpoint
SPI: undocumented; may change or disappear between OS releases.
NewNWEndpoint creates a new NWEndpoint instance.
func NewNWEndpointWithCoder ¶
func NewNWEndpointWithCoder(coder objectivec.IObject) NWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func NewNWEndpointWithEndpoint ¶
func NewNWEndpointWithEndpoint(endpoint objectivec.IObject) NWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) AlternatePort ¶
func (n NWEndpoint) AlternatePort() uint16
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) Autorelease ¶
func (n NWEndpoint) Autorelease() NWEndpoint
SPI: undocumented; may change or disappear between OS releases.
Autorelease adds the receiver to the current autorelease pool.
func (NWEndpoint) CopyCEndpoint ¶
func (n NWEndpoint) CopyCEndpoint() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) CreateProtocolBufferObject ¶
func (n NWEndpoint) CreateProtocolBufferObject() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) DescriptionWithIndentShowFullContent ¶
func (n NWEndpoint) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) EncodeWithCoder ¶
func (n NWEndpoint) EncodeWithCoder(coder foundation.INSCoder)
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) EncodedData ¶
func (n NWEndpoint) EncodedData() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) Init ¶
func (n NWEndpoint) Init() NWEndpoint
SPI: undocumented; may change or disappear between OS releases.
Init initializes the instance.
func (NWEndpoint) InitWithCoder ¶
func (n NWEndpoint) InitWithCoder(coder foundation.INSCoder) NWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) InitWithEndpoint ¶
func (n NWEndpoint) InitWithEndpoint(endpoint objectivec.IObject) NWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) Interface ¶
func (n NWEndpoint) Interface() INWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) InternalEndpoint ¶
func (n NWEndpoint) InternalEndpoint() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) ParentEndpointDomain ¶
func (n NWEndpoint) ParentEndpointDomain() string
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) PrivateDescription ¶
func (n NWEndpoint) PrivateDescription() string
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) RemoteInterfaceType ¶
func (n NWEndpoint) RemoteInterfaceType() int64
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) SetAlternatePort ¶
func (n NWEndpoint) SetAlternatePort(value uint16)
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) SetInterface ¶
func (n NWEndpoint) SetInterface(value INWInterface)
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) SetInternalEndpoint ¶
func (n NWEndpoint) SetInternalEndpoint(value objectivec.Object)
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) SetRemoteInterfaceType ¶
func (n NWEndpoint) SetRemoteInterfaceType(value int64)
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) SetTxtRecord ¶
func (n NWEndpoint) SetTxtRecord(value foundation.NSData)
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpoint) TxtRecord ¶
func (n NWEndpoint) TxtRecord() foundation.NSData
SPI: undocumented; may change or disappear between OS releases.
type NWEndpointClass ¶
type NWEndpointClass struct {
// contains filtered or unexported fields
}
SPI: undocumented; may change or disappear between OS releases.
func GetNWEndpointClass ¶
func GetNWEndpointClass() NWEndpointClass
SPI: undocumented; may change or disappear between OS releases.
GetNWEndpointClass returns the class object for NWEndpoint.
func (NWEndpointClass) Alloc ¶
func (nc NWEndpointClass) Alloc() NWEndpoint
SPI: undocumented; may change or disappear between OS releases.
Alloc allocates memory for a new instance of the class.
func (NWEndpointClass) Class ¶
func (nc NWEndpointClass) Class() objc.Class
SPI: undocumented; may change or disappear between OS releases.
Class returns the underlying Objective-C class pointer.
func (NWEndpointClass) CopyClassForEndpointType ¶
func (_NWEndpointClass NWEndpointClass) CopyClassForEndpointType(type_ int32) objc.Class
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpointClass) EndpointType ¶
func (_NWEndpointClass NWEndpointClass) EndpointType() uint32
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpointClass) EndpointWithCEndpoint ¶
func (_NWEndpointClass NWEndpointClass) EndpointWithCEndpoint(cEndpoint objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpointClass) EndpointWithInternalEndpoint ¶
func (_NWEndpointClass NWEndpointClass) EndpointWithInternalEndpoint(endpoint objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpointClass) EndpointWithProtocolBufferData ¶
func (_NWEndpointClass NWEndpointClass) EndpointWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpointClass) SupportsResolverCallback ¶
func (_NWEndpointClass NWEndpointClass) SupportsResolverCallback() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWEndpointClass) SupportsSecureCoding ¶
func (_NWEndpointClass NWEndpointClass) SupportsSecureCoding() bool
SPI: undocumented; may change or disappear between OS releases.
type NWInterface ¶
type NWInterface struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
Methods ¶
- NWInterface.CInterface
- NWInterface.CopyLocalAddressForDefaultIPv4
- NWInterface.CopyLocalAddressForDefaultIPv6
- NWInterface.CopyLocalAddressForRemoteAddress
- NWInterface.CreateProtocolBufferObject
- NWInterface.DelegateInterface
- NWInterface.DescriptionWithIndentShowFullContent
- NWInterface.EncodeWithCoder
- NWInterface.Generation
- NWInterface.HasDNS
- NWInterface.HasNAT64
- NWInterface.InterfaceIndex
- NWInterface.InterfaceName
- NWInterface.InternalInterface
- NWInterface.SetInternalInterface
- NWInterface.Ipv4Broadcast
- NWInterface.Ipv4Netmask
- NWInterface.IsDeepEqual
- NWInterface.IsShallowEqual
- NWInterface.IsUltraConstrained
- NWInterface.Mtu
- NWInterface.PrivateDescription
- NWInterface.Subtype
- NWInterface.SupportsMulticast
- NWInterface.Type
- NWInterface.TypeString
- NWInterface.InitWithCoder
- NWInterface.InitWithInterface
- NWInterface.InitWithInterfaceIndex
- NWInterface.InitWithInterfaceIndexInterfaceName
- NWInterface.InitWithInterfaceName
- NWInterface.IsConstrained
- NWInterface.IsExpensive
- NWInterface.IsIPv4Routable
- NWInterface.IsIPv6Routable
func NWInterfaceFromID ¶
func NWInterfaceFromID(id objc.ID) NWInterface
SPI: undocumented; may change or disappear between OS releases.
NWInterfaceFromID constructs a NWInterface from an objc.ID.
func NewNWInterface ¶
func NewNWInterface() NWInterface
SPI: undocumented; may change or disappear between OS releases.
NewNWInterface creates a new NWInterface instance.
func NewNWInterfaceWithCoder ¶
func NewNWInterfaceWithCoder(coder objectivec.IObject) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func NewNWInterfaceWithInterface ¶
func NewNWInterfaceWithInterface(interface_ objectivec.IObject) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func NewNWInterfaceWithInterfaceIndex ¶
func NewNWInterfaceWithInterfaceIndex(index uint64) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func NewNWInterfaceWithInterfaceIndexInterfaceName ¶
func NewNWInterfaceWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func NewNWInterfaceWithInterfaceName ¶
func NewNWInterfaceWithInterfaceName(name objectivec.IObject) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) Autorelease ¶
func (n NWInterface) Autorelease() NWInterface
SPI: undocumented; may change or disappear between OS releases.
Autorelease adds the receiver to the current autorelease pool.
func (NWInterface) CInterface ¶
func (n NWInterface) CInterface() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) CopyLocalAddressForDefaultIPv4 ¶
func (n NWInterface) CopyLocalAddressForDefaultIPv4() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) CopyLocalAddressForDefaultIPv6 ¶
func (n NWInterface) CopyLocalAddressForDefaultIPv6() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) CopyLocalAddressForRemoteAddress ¶
func (n NWInterface) CopyLocalAddressForRemoteAddress(address objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) CreateProtocolBufferObject ¶
func (n NWInterface) CreateProtocolBufferObject() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) DelegateInterface ¶
func (n NWInterface) DelegateInterface() INWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) DescriptionWithIndentShowFullContent ¶
func (n NWInterface) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) EncodeWithCoder ¶
func (n NWInterface) EncodeWithCoder(coder foundation.INSCoder)
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) Generation ¶
func (n NWInterface) Generation() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) HasDNS ¶
func (n NWInterface) HasDNS() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) HasNAT64 ¶
func (n NWInterface) HasNAT64() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) Init ¶
func (n NWInterface) Init() NWInterface
SPI: undocumented; may change or disappear between OS releases.
Init initializes the instance.
func (NWInterface) InitWithCoder ¶
func (n NWInterface) InitWithCoder(coder foundation.INSCoder) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) InitWithInterface ¶
func (n NWInterface) InitWithInterface(interface_ objectivec.IObject) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) InitWithInterfaceIndex ¶
func (n NWInterface) InitWithInterfaceIndex(index uint64) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) InitWithInterfaceIndexInterfaceName ¶
func (n NWInterface) InitWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) InitWithInterfaceName ¶
func (n NWInterface) InitWithInterfaceName(name objectivec.IObject) NWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) InterfaceIndex ¶
func (n NWInterface) InterfaceIndex() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) InterfaceName ¶
func (n NWInterface) InterfaceName() string
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) InternalInterface ¶
func (n NWInterface) InternalInterface() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) Ipv4Broadcast ¶
func (n NWInterface) Ipv4Broadcast() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) Ipv4Netmask ¶
func (n NWInterface) Ipv4Netmask() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) IsConstrained ¶
func (n NWInterface) IsConstrained() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) IsDeepEqual ¶
func (n NWInterface) IsDeepEqual(equal objectivec.IObject) bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) IsExpensive ¶
func (n NWInterface) IsExpensive() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) IsIPv4Routable ¶
func (n NWInterface) IsIPv4Routable() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) IsIPv6Routable ¶
func (n NWInterface) IsIPv6Routable() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) IsShallowEqual ¶
func (n NWInterface) IsShallowEqual(equal objectivec.IObject) bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) IsUltraConstrained ¶
func (n NWInterface) IsUltraConstrained() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) Mtu ¶
func (n NWInterface) Mtu() int64
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) PrivateDescription ¶
func (n NWInterface) PrivateDescription() string
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) SetInternalInterface ¶
func (n NWInterface) SetInternalInterface(value objectivec.Object)
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) Subtype ¶
func (n NWInterface) Subtype() int64
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) SupportsMulticast ¶
func (n NWInterface) SupportsMulticast() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) Type ¶
func (n NWInterface) Type() int64
SPI: undocumented; may change or disappear between OS releases.
func (NWInterface) TypeString ¶
func (n NWInterface) TypeString() string
SPI: undocumented; may change or disappear between OS releases.
type NWInterfaceClass ¶
type NWInterfaceClass struct {
// contains filtered or unexported fields
}
SPI: undocumented; may change or disappear between OS releases.
func GetNWInterfaceClass ¶
func GetNWInterfaceClass() NWInterfaceClass
SPI: undocumented; may change or disappear between OS releases.
GetNWInterfaceClass returns the class object for NWInterface.
func (NWInterfaceClass) Alloc ¶
func (nc NWInterfaceClass) Alloc() NWInterface
SPI: undocumented; may change or disappear between OS releases.
Alloc allocates memory for a new instance of the class.
func (NWInterfaceClass) Class ¶
func (nc NWInterfaceClass) Class() objc.Class
SPI: undocumented; may change or disappear between OS releases.
Class returns the underlying Objective-C class pointer.
func (NWInterfaceClass) DescriptionForSubtype ¶
func (_NWInterfaceClass NWInterfaceClass) DescriptionForSubtype(subtype int64) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterfaceClass) DescriptionForType ¶
func (_NWInterfaceClass NWInterfaceClass) DescriptionForType(type_ int64) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterfaceClass) InterfaceWithProtocolBufferData ¶
func (_NWInterfaceClass NWInterfaceClass) InterfaceWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWInterfaceClass) SupportsSecureCoding ¶
func (_NWInterfaceClass NWInterfaceClass) SupportsSecureCoding() bool
SPI: undocumented; may change or disappear between OS releases.
type NWParameters ¶
type NWParameters struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
Methods ¶
- NWParameters.SSLCipherSuites
- NWParameters.SetSSLCipherSuites
- NWParameters.SSLCipherSuitesInternal
- NWParameters.SetSSLCipherSuitesInternal
- NWParameters.TLSSessionID
- NWParameters.SetTLSSessionID
- NWParameters.Account
- NWParameters.SetAccount
- NWParameters.AllowDuplicateStateUpdates
- NWParameters.SetAllowDuplicateStateUpdates
- NWParameters.AllowJoiningConnectedFd
- NWParameters.SetAllowJoiningConnectedFd
- NWParameters.AllowSocketAccess
- NWParameters.SetAllowSocketAccess
- NWParameters.AllowUnusableAddresses
- NWParameters.SetAllowUnusableAddresses
- NWParameters.AttachProtocolListener
- NWParameters.SetAttachProtocolListener
- NWParameters.AvoidNetworkAgentWithDomainType
- NWParameters.AvoidNetworkAgentWithUUID
- NWParameters.CopyCParameters
- NWParameters.CopyEffectiveAuditToken
- NWParameters.CopyRequiredAgentsDescription
- NWParameters.CreateProtocolBufferObject
- NWParameters.DataMode
- NWParameters.SetDataMode
- NWParameters.DescriptionWithIndentShowFullContent
- NWParameters.DisableNagleAlgorithm
- NWParameters.SetDisableNagleAlgorithm
- NWParameters.EffectiveBundleID
- NWParameters.SetEffectiveBundleID
- NWParameters.EffectiveProcessUUID
- NWParameters.SetEffectiveProcessUUID
- NWParameters.EnableTFO
- NWParameters.SetEnableTFO
- NWParameters.EnableTFONoCookie
- NWParameters.SetEnableTFONoCookie
- NWParameters.EnableTLS
- NWParameters.SetEnableTLS
- NWParameters.EncodeWithCoder
- NWParameters.FastOpenForceEnable
- NWParameters.SetFastOpenForceEnable
- NWParameters.HasDelegatedPIDForOriginatingPID
- NWParameters.HasDelegatedProcessUUID
- NWParameters.HasNonEmptyProxyConfiguration
- NWParameters.HasPreferredNetworkAgents
- NWParameters.HasProhibitedNetworkAgents
- NWParameters.HasRequiredNetworkAgents
- NWParameters.HttpsProxyIsOpaque
- NWParameters.SetHttpsProxyIsOpaque
- NWParameters.HttpsProxyOverTLS
- NWParameters.SetHttpsProxyOverTLS
- NWParameters.IgnoreResolverStats
- NWParameters.SetIgnoreResolverStats
- NWParameters.Indefinite
- NWParameters.SetIndefinite
- NWParameters.InternalParameters
- NWParameters.SetInternalParameters
- NWParameters.IpProtocol
- NWParameters.KeepAlive
- NWParameters.SetKeepAlive
- NWParameters.KeepAliveIdleTime
- NWParameters.SetKeepAliveIdleTime
- NWParameters.KeepAliveInterval
- NWParameters.SetKeepAliveInterval
- NWParameters.KeepAliveOffload
- NWParameters.SetKeepAliveOffload
- NWParameters.LocalAddress
- NWParameters.SetLocalAddress
- NWParameters.MaximumSSLProtocolVersion
- NWParameters.SetMaximumSSLProtocolVersion
- NWParameters.MaximumSSLProtocolVersionInternal
- NWParameters.SetMaximumSSLProtocolVersionInternal
- NWParameters.Metadata
- NWParameters.SetMetadata
- NWParameters.MinimumSSLProtocolVersion
- NWParameters.SetMinimumSSLProtocolVersion
- NWParameters.MinimumSSLProtocolVersionInternal
- NWParameters.SetMinimumSSLProtocolVersionInternal
- NWParameters.Multipath
- NWParameters.SetMultipath
- NWParameters.MultipathForceEnable
- NWParameters.SetMultipathForceEnable
- NWParameters.MultipathService
- NWParameters.SetMultipathService
- NWParameters.NoProxy
- NWParameters.SetNoProxy
- NWParameters.ParentID
- NWParameters.SetParentID
- NWParameters.ParentIDs
- NWParameters.Pid
- NWParameters.SetPid
- NWParameters.PreferNetworkAgentWithDomainType
- NWParameters.PreferNetworkAgentWithUUID
- NWParameters.PreferNoProxy
- NWParameters.SetPreferNoProxy
- NWParameters.PrivateDescription
- NWParameters.ProcessUUID
- NWParameters.SetProcessUUID
- NWParameters.ProhibitCellular
- NWParameters.ProhibitConstrainedPaths
- NWParameters.SetProhibitConstrainedPaths
- NWParameters.ProhibitExpensivePaths
- NWParameters.SetProhibitExpensivePaths
- NWParameters.ProhibitFallback
- NWParameters.SetProhibitFallback
- NWParameters.ProhibitInterface
- NWParameters.ProhibitInterfaceSubtype
- NWParameters.ProhibitInterfaceType
- NWParameters.ProhibitJoiningProtocols
- NWParameters.SetProhibitJoiningProtocols
- NWParameters.ProhibitNetworkAgentWithUUID
- NWParameters.ProhibitNetworkAgentsWithDomainType
- NWParameters.ProhibitRoaming
- NWParameters.SetProhibitRoaming
- NWParameters.ProtocolTransforms
- NWParameters.SetProtocolTransforms
- NWParameters.ProxyConfiguration
- NWParameters.SetProxyConfiguration
- NWParameters.ReduceBuffering
- NWParameters.SetReduceBuffering
- NWParameters.RequireNetworkAgentWithDomainType
- NWParameters.RequireNetworkAgentWithUUID
- NWParameters.RequiredAddressFamily
- NWParameters.SetRequiredAddressFamily
- NWParameters.RequiredCompanionProxyInterfaceType
- NWParameters.SetRequiredCompanionProxyInterfaceType
- NWParameters.RequiredInterface
- NWParameters.SetRequiredInterface
- NWParameters.RequiredInterfaceSubtype
- NWParameters.SetRequiredInterfaceSubtype
- NWParameters.RequiredInterfaceType
- NWParameters.SetRequiredInterfaceType
- NWParameters.ResolvePTR
- NWParameters.SetResolvePTR
- NWParameters.ReuseLocalAddress
- NWParameters.SetReuseLocalAddress
- NWParameters.SanitizedURL
- NWParameters.SetInitialDataPayload
- NWParameters.SetSourceApplicationWithBundleID
- NWParameters.TlsVersionWithSSLProtocol
- NWParameters.TrafficClass
- NWParameters.SetTrafficClass
- NWParameters.TransportProtocol
- NWParameters.TrustInvalidCertificates
- NWParameters.SetTrustInvalidCertificates
- NWParameters.Uid
- NWParameters.SetUid
- NWParameters.Url
- NWParameters.SetUrl
- NWParameters.UseAWDL
- NWParameters.SetUseAWDL
- NWParameters.UseLongOutstandingQueries
- NWParameters.SetUseLongOutstandingQueries
- NWParameters.UseP2P
- NWParameters.SetUseP2P
- NWParameters.InitWithCoder
- NWParameters.InitWithParameters
- NWParameters.IsDiscretionary
- NWParameters.SetDiscretionary
- NWParameters.IsDryRun
- NWParameters.IsValid
func NWParametersCreatePlainTCP ¶
func NWParametersCreatePlainTCP(configureTCP NWParametersConfigureProtocolBlock) NWParameters
SPI: undocumented; may change or disappear between OS releases.
NWParametersCreatePlainTCP initializes parameters for cleartext TCP.
func NWParametersFromID ¶
func NWParametersFromID(id objc.ID) NWParameters
SPI: undocumented; may change or disappear between OS releases.
NWParametersFromID constructs a NWParameters from an objc.ID.
func NewNWParameters ¶
func NewNWParameters() NWParameters
SPI: undocumented; may change or disappear between OS releases.
NewNWParameters creates a new NWParameters instance.
func NewNWParametersWithCoder ¶
func NewNWParametersWithCoder(coder objectivec.IObject) NWParameters
SPI: undocumented; may change or disappear between OS releases.
func NewNWParametersWithParameters ¶
func NewNWParametersWithParameters(parameters objectivec.IObject) NWParameters
SPI: undocumented; may change or disappear between OS releases.
func TryNWParametersCreatePlainTCP ¶
func TryNWParametersCreatePlainTCP(configureTCP NWParametersConfigureProtocolBlock) (NWParameters, error)
SPI: undocumented; may change or disappear between OS releases.
TryNWParametersCreatePlainTCP initializes parameters for cleartext TCP.
func (NWParameters) Account ¶
func (n NWParameters) Account() string
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) AllowDuplicateStateUpdates ¶
func (n NWParameters) AllowDuplicateStateUpdates() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) AllowJoiningConnectedFd ¶
func (n NWParameters) AllowJoiningConnectedFd() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) AllowSocketAccess ¶
func (n NWParameters) AllowSocketAccess() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) AllowUnusableAddresses ¶
func (n NWParameters) AllowUnusableAddresses() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) AttachProtocolListener ¶
func (n NWParameters) AttachProtocolListener() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) Autorelease ¶
func (n NWParameters) Autorelease() NWParameters
SPI: undocumented; may change or disappear between OS releases.
Autorelease adds the receiver to the current autorelease pool.
func (NWParameters) AvoidNetworkAgentWithDomainType ¶
func (n NWParameters) AvoidNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) AvoidNetworkAgentWithUUID ¶
func (n NWParameters) AvoidNetworkAgentWithUUID(uuid objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) CopyCParameters ¶
func (n NWParameters) CopyCParameters() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) CopyEffectiveAuditToken ¶ added in v0.6.17
func (n NWParameters) CopyEffectiveAuditToken(token unsafe.Pointer) bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) CopyRequiredAgentsDescription ¶
func (n NWParameters) CopyRequiredAgentsDescription() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) CreateProtocolBufferObject ¶
func (n NWParameters) CreateProtocolBufferObject() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) DataMode ¶
func (n NWParameters) DataMode() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) DescriptionWithIndentShowFullContent ¶
func (n NWParameters) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) DisableNagleAlgorithm ¶
func (n NWParameters) DisableNagleAlgorithm() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) EffectiveBundleID ¶
func (n NWParameters) EffectiveBundleID() string
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) EffectiveProcessUUID ¶
func (n NWParameters) EffectiveProcessUUID() foundation.NSUUID
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) EnableTFO ¶
func (n NWParameters) EnableTFO() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) EnableTFONoCookie ¶
func (n NWParameters) EnableTFONoCookie() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) EnableTLS ¶
func (n NWParameters) EnableTLS() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) EncodeWithCoder ¶
func (n NWParameters) EncodeWithCoder(coder foundation.INSCoder)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) FastOpenForceEnable ¶
func (n NWParameters) FastOpenForceEnable() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) HasDelegatedPIDForOriginatingPID ¶
func (n NWParameters) HasDelegatedPIDForOriginatingPID(pid int32) bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) HasDelegatedProcessUUID ¶
func (n NWParameters) HasDelegatedProcessUUID() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) HasNonEmptyProxyConfiguration ¶
func (n NWParameters) HasNonEmptyProxyConfiguration() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) HasPreferredNetworkAgents ¶
func (n NWParameters) HasPreferredNetworkAgents() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) HasProhibitedNetworkAgents ¶
func (n NWParameters) HasProhibitedNetworkAgents() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) HasRequiredNetworkAgents ¶
func (n NWParameters) HasRequiredNetworkAgents() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) HttpsProxyIsOpaque ¶
func (n NWParameters) HttpsProxyIsOpaque() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) HttpsProxyOverTLS ¶
func (n NWParameters) HttpsProxyOverTLS() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) IgnoreResolverStats ¶
func (n NWParameters) IgnoreResolverStats() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) Indefinite ¶
func (n NWParameters) Indefinite() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) Init ¶
func (n NWParameters) Init() NWParameters
SPI: undocumented; may change or disappear between OS releases.
Init initializes the instance.
func (NWParameters) InitWithCoder ¶
func (n NWParameters) InitWithCoder(coder foundation.INSCoder) NWParameters
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) InitWithParameters ¶
func (n NWParameters) InitWithParameters(parameters objectivec.IObject) NWParameters
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) InternalParameters ¶
func (n NWParameters) InternalParameters() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) IpProtocol ¶
func (n NWParameters) IpProtocol() byte
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) IsDiscretionary ¶
func (n NWParameters) IsDiscretionary() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) IsDryRun ¶
func (n NWParameters) IsDryRun() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) IsValid ¶
func (n NWParameters) IsValid() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) KeepAlive ¶
func (n NWParameters) KeepAlive() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) KeepAliveIdleTime ¶
func (n NWParameters) KeepAliveIdleTime() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) KeepAliveInterval ¶
func (n NWParameters) KeepAliveInterval() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) KeepAliveOffload ¶
func (n NWParameters) KeepAliveOffload() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) LocalAddress ¶
func (n NWParameters) LocalAddress() unsafe.Pointer
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) MaximumSSLProtocolVersion ¶
func (n NWParameters) MaximumSSLProtocolVersion() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) MaximumSSLProtocolVersionInternal ¶
func (n NWParameters) MaximumSSLProtocolVersionInternal() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) Metadata ¶
func (n NWParameters) Metadata() foundation.NSData
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) MinimumSSLProtocolVersion ¶
func (n NWParameters) MinimumSSLProtocolVersion() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) MinimumSSLProtocolVersionInternal ¶
func (n NWParameters) MinimumSSLProtocolVersionInternal() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) Multipath ¶
func (n NWParameters) Multipath() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) MultipathForceEnable ¶
func (n NWParameters) MultipathForceEnable() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) MultipathService ¶
func (n NWParameters) MultipathService() int32
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) NoProxy ¶
func (n NWParameters) NoProxy() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ParentID ¶
func (n NWParameters) ParentID() foundation.NSUUID
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ParentIDs ¶
func (n NWParameters) ParentIDs() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) Pid ¶
func (n NWParameters) Pid() int32
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) PreferNetworkAgentWithDomainType ¶
func (n NWParameters) PreferNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) PreferNetworkAgentWithUUID ¶
func (n NWParameters) PreferNetworkAgentWithUUID(uuid objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) PreferNoProxy ¶
func (n NWParameters) PreferNoProxy() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) PrivateDescription ¶
func (n NWParameters) PrivateDescription() string
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProcessUUID ¶
func (n NWParameters) ProcessUUID() foundation.NSUUID
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitCellular ¶
func (n NWParameters) ProhibitCellular() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitConstrainedPaths ¶
func (n NWParameters) ProhibitConstrainedPaths() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitExpensivePaths ¶
func (n NWParameters) ProhibitExpensivePaths() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitFallback ¶
func (n NWParameters) ProhibitFallback() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitInterface ¶
func (n NWParameters) ProhibitInterface(interface_ objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitInterfaceSubtype ¶
func (n NWParameters) ProhibitInterfaceSubtype(subtype int64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitInterfaceType ¶
func (n NWParameters) ProhibitInterfaceType(type_ int64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitJoiningProtocols ¶
func (n NWParameters) ProhibitJoiningProtocols() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitNetworkAgentWithUUID ¶
func (n NWParameters) ProhibitNetworkAgentWithUUID(uuid objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitNetworkAgentsWithDomainType ¶
func (n NWParameters) ProhibitNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProhibitRoaming ¶
func (n NWParameters) ProhibitRoaming() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProtocolTransforms ¶
func (n NWParameters) ProtocolTransforms() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ProxyConfiguration ¶
func (n NWParameters) ProxyConfiguration() foundation.INSDictionary
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ReduceBuffering ¶
func (n NWParameters) ReduceBuffering() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) RequireNetworkAgentWithDomainType ¶
func (n NWParameters) RequireNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) RequireNetworkAgentWithUUID ¶
func (n NWParameters) RequireNetworkAgentWithUUID(uuid objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) RequiredAddressFamily ¶
func (n NWParameters) RequiredAddressFamily() byte
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) RequiredCompanionProxyInterfaceType ¶
func (n NWParameters) RequiredCompanionProxyInterfaceType() int64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) RequiredInterface ¶
func (n NWParameters) RequiredInterface() INWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) RequiredInterfaceSubtype ¶
func (n NWParameters) RequiredInterfaceSubtype() int64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) RequiredInterfaceType ¶
func (n NWParameters) RequiredInterfaceType() int64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ResolvePTR ¶
func (n NWParameters) ResolvePTR() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) ReuseLocalAddress ¶
func (n NWParameters) ReuseLocalAddress() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SSLCipherSuites ¶
func (n NWParameters) SSLCipherSuites() foundation.INSSet
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SSLCipherSuitesInternal ¶
func (n NWParameters) SSLCipherSuitesInternal() foundation.INSSet
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SanitizedURL ¶
func (n NWParameters) SanitizedURL() foundation.NSURL
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetAccount ¶
func (n NWParameters) SetAccount(value string)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetAllowDuplicateStateUpdates ¶
func (n NWParameters) SetAllowDuplicateStateUpdates(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetAllowJoiningConnectedFd ¶
func (n NWParameters) SetAllowJoiningConnectedFd(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetAllowSocketAccess ¶
func (n NWParameters) SetAllowSocketAccess(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetAllowUnusableAddresses ¶
func (n NWParameters) SetAllowUnusableAddresses(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetAttachProtocolListener ¶
func (n NWParameters) SetAttachProtocolListener(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetDataMode ¶
func (n NWParameters) SetDataMode(value uint64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetDisableNagleAlgorithm ¶
func (n NWParameters) SetDisableNagleAlgorithm(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetDiscretionary ¶
func (n NWParameters) SetDiscretionary(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetEffectiveBundleID ¶
func (n NWParameters) SetEffectiveBundleID(value string)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetEffectiveProcessUUID ¶
func (n NWParameters) SetEffectiveProcessUUID(value foundation.NSUUID)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetEnableTFO ¶
func (n NWParameters) SetEnableTFO(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetEnableTFONoCookie ¶
func (n NWParameters) SetEnableTFONoCookie(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetEnableTLS ¶
func (n NWParameters) SetEnableTLS(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetFastOpenForceEnable ¶
func (n NWParameters) SetFastOpenForceEnable(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetHttpsProxyIsOpaque ¶
func (n NWParameters) SetHttpsProxyIsOpaque(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetHttpsProxyOverTLS ¶
func (n NWParameters) SetHttpsProxyOverTLS(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetIgnoreResolverStats ¶
func (n NWParameters) SetIgnoreResolverStats(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetIndefinite ¶
func (n NWParameters) SetIndefinite(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetInitialDataPayload ¶
func (n NWParameters) SetInitialDataPayload(payload objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetInternalParameters ¶
func (n NWParameters) SetInternalParameters(value objectivec.Object)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetKeepAlive ¶
func (n NWParameters) SetKeepAlive(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetKeepAliveIdleTime ¶
func (n NWParameters) SetKeepAliveIdleTime(value uint64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetKeepAliveInterval ¶
func (n NWParameters) SetKeepAliveInterval(value uint64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetKeepAliveOffload ¶
func (n NWParameters) SetKeepAliveOffload(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetLocalAddress ¶
func (n NWParameters) SetLocalAddress(value unsafe.Pointer)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetMaximumSSLProtocolVersion ¶
func (n NWParameters) SetMaximumSSLProtocolVersion(value uint64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetMaximumSSLProtocolVersionInternal ¶
func (n NWParameters) SetMaximumSSLProtocolVersionInternal(value uint64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetMetadata ¶
func (n NWParameters) SetMetadata(value foundation.NSData)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetMinimumSSLProtocolVersion ¶
func (n NWParameters) SetMinimumSSLProtocolVersion(value uint64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetMinimumSSLProtocolVersionInternal ¶
func (n NWParameters) SetMinimumSSLProtocolVersionInternal(value uint64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetMultipath ¶
func (n NWParameters) SetMultipath(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetMultipathForceEnable ¶
func (n NWParameters) SetMultipathForceEnable(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetMultipathService ¶
func (n NWParameters) SetMultipathService(value int32)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetNoProxy ¶
func (n NWParameters) SetNoProxy(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetParentID ¶
func (n NWParameters) SetParentID(value foundation.NSUUID)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetPid ¶
func (n NWParameters) SetPid(value int32)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetPreferNoProxy ¶
func (n NWParameters) SetPreferNoProxy(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetProcessUUID ¶
func (n NWParameters) SetProcessUUID(value foundation.NSUUID)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetProhibitConstrainedPaths ¶
func (n NWParameters) SetProhibitConstrainedPaths(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetProhibitExpensivePaths ¶
func (n NWParameters) SetProhibitExpensivePaths(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetProhibitFallback ¶
func (n NWParameters) SetProhibitFallback(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetProhibitJoiningProtocols ¶
func (n NWParameters) SetProhibitJoiningProtocols(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetProhibitRoaming ¶
func (n NWParameters) SetProhibitRoaming(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetProtocolTransforms ¶
func (n NWParameters) SetProtocolTransforms(value foundation.INSArray)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetProxyConfiguration ¶
func (n NWParameters) SetProxyConfiguration(value foundation.INSDictionary)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetReduceBuffering ¶
func (n NWParameters) SetReduceBuffering(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetRequiredAddressFamily ¶
func (n NWParameters) SetRequiredAddressFamily(value byte)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetRequiredCompanionProxyInterfaceType ¶
func (n NWParameters) SetRequiredCompanionProxyInterfaceType(value int64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetRequiredInterface ¶
func (n NWParameters) SetRequiredInterface(value INWInterface)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetRequiredInterfaceSubtype ¶
func (n NWParameters) SetRequiredInterfaceSubtype(value int64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetRequiredInterfaceType ¶
func (n NWParameters) SetRequiredInterfaceType(value int64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetResolvePTR ¶
func (n NWParameters) SetResolvePTR(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetReuseLocalAddress ¶
func (n NWParameters) SetReuseLocalAddress(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetSSLCipherSuites ¶
func (n NWParameters) SetSSLCipherSuites(value foundation.INSSet)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetSSLCipherSuitesInternal ¶
func (n NWParameters) SetSSLCipherSuitesInternal(value foundation.INSSet)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetSourceApplicationWithBundleID ¶
func (n NWParameters) SetSourceApplicationWithBundleID(id objectivec.IObject)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetTLSSessionID ¶
func (n NWParameters) SetTLSSessionID(value foundation.NSData)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetTrafficClass ¶
func (n NWParameters) SetTrafficClass(value uint64)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetTrustInvalidCertificates ¶
func (n NWParameters) SetTrustInvalidCertificates(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetUid ¶
func (n NWParameters) SetUid(value uint32)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetUrl ¶
func (n NWParameters) SetUrl(value foundation.NSURL)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetUseAWDL ¶
func (n NWParameters) SetUseAWDL(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetUseLongOutstandingQueries ¶
func (n NWParameters) SetUseLongOutstandingQueries(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) SetUseP2P ¶
func (n NWParameters) SetUseP2P(value bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) TLSSessionID ¶
func (n NWParameters) TLSSessionID() foundation.NSData
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) TlsVersionWithSSLProtocol ¶
func (n NWParameters) TlsVersionWithSSLProtocol(sSLProtocol int32) uint16
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) TrafficClass ¶
func (n NWParameters) TrafficClass() uint64
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) TransportProtocol ¶
func (n NWParameters) TransportProtocol() byte
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) TrustInvalidCertificates ¶
func (n NWParameters) TrustInvalidCertificates() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) Uid ¶
func (n NWParameters) Uid() uint32
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) Url ¶
func (n NWParameters) Url() foundation.NSURL
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) UseAWDL ¶
func (n NWParameters) UseAWDL() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) UseLongOutstandingQueries ¶
func (n NWParameters) UseLongOutstandingQueries() bool
SPI: undocumented; may change or disappear between OS releases.
func (NWParameters) UseP2P ¶
func (n NWParameters) UseP2P() bool
SPI: undocumented; may change or disappear between OS releases.
type NWParametersClass ¶
type NWParametersClass struct {
// contains filtered or unexported fields
}
SPI: undocumented; may change or disappear between OS releases.
func GetNWParametersClass ¶
func GetNWParametersClass() NWParametersClass
SPI: undocumented; may change or disappear between OS releases.
GetNWParametersClass returns the class object for NWParameters.
func (NWParametersClass) Alloc ¶
func (nc NWParametersClass) Alloc() NWParameters
SPI: undocumented; may change or disappear between OS releases.
Alloc allocates memory for a new instance of the class.
func (NWParametersClass) Class ¶
func (nc NWParametersClass) Class() objc.Class
SPI: undocumented; may change or disappear between OS releases.
Class returns the underlying Objective-C class pointer.
func (NWParametersClass) ParametersWithCParameters ¶
func (_NWParametersClass NWParametersClass) ParametersWithCParameters(cParameters objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWParametersClass) ParametersWithProtocolBufferData ¶
func (_NWParametersClass NWParametersClass) ParametersWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWParametersClass) SupportsSecureCoding ¶
func (_NWParametersClass NWParametersClass) SupportsSecureCoding() bool
SPI: undocumented; may change or disappear between OS releases.
type NWParametersConfigureProtocolBlock ¶
type NWParametersConfigureProtocolBlock = publicapi.NWParametersConfigureProtocolBlock
type NWPath ¶
type NWPath struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
Methods ¶
- NWPath.AdvertiseDescriptor
- NWPath.BrowseDescriptor
- NWPath.CPath
- NWPath.ClientID
- NWPath.ConnectedInterface
- NWPath.CopyDNSSearchDomains
- NWPath.CopyDNSServerEndpoints
- NWPath.CopyDNSServersStrings
- NWPath.CopyDataFromNetworkAgentWithDomainType
- NWPath.CopyFlowDivertToken
- NWPath.CreateProtocolBufferObject
- NWPath.DelegateInterface
- NWPath.DerivedParameters
- NWPath.DescriptionWithIndentShowFullContent
- NWPath.DnsSearchDomains
- NWPath.DnsServers
- NWPath.DnsServersAsStrings
- NWPath.DnsServiceID
- NWPath.EffectiveLocalEndpoint
- NWPath.EffectiveRemoteEndpoint
- NWPath.Endpoint
- NWPath.FallbackEligible
- NWPath.FallbackInterface
- NWPath.FallbackInterfaceIndex
- NWPath.FallbackIsPreferred
- NWPath.FallbackIsWeak
- NWPath.FilterControlUnit
- NWPath.FlowDivertAggregateUnit
- NWPath.FlowDivertControlUnit
- NWPath.Flows
- NWPath.Gateways
- NWPath.GenericNetworkAgentsWithDomainType
- NWPath.GroupMembers
- NWPath.HasAdvertiseDescriptor
- NWPath.HasApplicationLevelFirewall
- NWPath.HasBrowseDescriptor
- NWPath.HasCustomPFRules
- NWPath.HasKernelExtensionFilter
- NWPath.HasParentalControls
- NWPath.HasProxySettings
- NWPath.HasUnsatisfiedFallbackAgent
- NWPath.InactiveNetworkAgentUUIDsOnlyVoluntary
- NWPath.Interface
- NWPath.InternalPath
- NWPath.IsEqualToPath
- NWPath.IsLinkQualityAbort
- NWPath.IsListenerInterfaceSpecific
- NWPath.IsUltraConstrained
- NWPath.MaximumDatagramSize
- NWPath.Mtu
- NWPath.NetworkAgentsOfType
- NWPath.OverrideDNSSearchDomains
- NWPath.OverrideDNSServers
- NWPath.OverrideDNSServersAsStrings
- NWPath.Parameters
- NWPath.PolicyID
- NWPath.PrivateDescription
- NWPath.ProxySettings
- NWPath.Reason
- NWPath.ReasonDescription
- NWPath.ScopedInterface
- NWPath.SecondsSinceInterfaceChange
- NWPath.ShouldProbeConnectivity
- NWPath.Status
- NWPath.StatusAsString
- NWPath.SupportsDNS
- NWPath.SupportsIPv4
- NWPath.SupportsIPv6
- NWPath.UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately
- NWPath.UsesCompanion
- NWPath.UsesInterfaceType
- NWPath.UsesNetworkAgent
- NWPath.UsesNetworkAgentType
- NWPath.InitWithPath
- NWPath.IsConstrained
- NWPath.IsDirect
- NWPath.IsEligibleForCrazyIvan46
- NWPath.IsExpensive
- NWPath.IsFiltered
- NWPath.IsFlowDivert
- NWPath.IsListener
- NWPath.IsLocal
- NWPath.IsPerAppVPN
- NWPath.IsRoaming
- NWPath.IsViable
func NWPathFromID ¶
SPI: undocumented; may change or disappear between OS releases.
NWPathFromID constructs a NWPath from an objc.ID.
func NewNWPath ¶
func NewNWPath() NWPath
SPI: undocumented; may change or disappear between OS releases.
NewNWPath creates a new NWPath instance.
func NewNWPathWithPath ¶
func NewNWPathWithPath(path objectivec.IObject) NWPath
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) AdvertiseDescriptor ¶
func (n NWPath) AdvertiseDescriptor() INWAdvertiseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) Autorelease ¶
SPI: undocumented; may change or disappear between OS releases.
Autorelease adds the receiver to the current autorelease pool.
func (NWPath) BrowseDescriptor ¶
func (n NWPath) BrowseDescriptor() INWBrowseDescriptor
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) CPath ¶
func (n NWPath) CPath() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) ClientID ¶
func (n NWPath) ClientID() foundation.NSUUID
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) ConnectedInterface ¶
func (n NWPath) ConnectedInterface() INWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) CopyDNSSearchDomains ¶
func (n NWPath) CopyDNSSearchDomains(domains bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) CopyDNSServerEndpoints ¶
func (n NWPath) CopyDNSServerEndpoints(endpoints bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) CopyDNSServersStrings ¶
func (n NWPath) CopyDNSServersStrings(strings objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) CopyDataFromNetworkAgentWithDomainType ¶
func (n NWPath) CopyDataFromNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) CopyFlowDivertToken ¶
func (n NWPath) CopyFlowDivertToken() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) CreateProtocolBufferObject ¶
func (n NWPath) CreateProtocolBufferObject() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) DelegateInterface ¶
func (n NWPath) DelegateInterface() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) DerivedParameters ¶
func (n NWPath) DerivedParameters() INWParameters
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) DescriptionWithIndentShowFullContent ¶
func (n NWPath) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) DnsSearchDomains ¶
func (n NWPath) DnsSearchDomains() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) DnsServers ¶
func (n NWPath) DnsServers() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) DnsServersAsStrings ¶
func (n NWPath) DnsServersAsStrings() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) DnsServiceID ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) EffectiveLocalEndpoint ¶
func (n NWPath) EffectiveLocalEndpoint() INWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) EffectiveRemoteEndpoint ¶
func (n NWPath) EffectiveRemoteEndpoint() INWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) Endpoint ¶
func (n NWPath) Endpoint() INWEndpoint
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) FallbackEligible ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) FallbackInterface ¶
func (n NWPath) FallbackInterface() INWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) FallbackInterfaceIndex ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) FallbackIsPreferred ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) FallbackIsWeak ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) FilterControlUnit ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) FlowDivertAggregateUnit ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) FlowDivertControlUnit ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) Flows ¶
func (n NWPath) Flows() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) Gateways ¶
func (n NWPath) Gateways() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) GenericNetworkAgentsWithDomainType ¶
func (n NWPath) GenericNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) GroupMembers ¶
func (n NWPath) GroupMembers() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) HasAdvertiseDescriptor ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) HasApplicationLevelFirewall ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) HasBrowseDescriptor ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) HasCustomPFRules ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) HasKernelExtensionFilter ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) HasParentalControls ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) HasProxySettings ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) HasUnsatisfiedFallbackAgent ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) InactiveNetworkAgentUUIDsOnlyVoluntary ¶
func (n NWPath) InactiveNetworkAgentUUIDsOnlyVoluntary(voluntary bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) Init ¶
SPI: undocumented; may change or disappear between OS releases.
Init initializes the instance.
func (NWPath) InitWithPath ¶
func (n NWPath) InitWithPath(path objectivec.IObject) NWPath
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) Interface ¶
func (n NWPath) Interface() INWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) InternalPath ¶
func (n NWPath) InternalPath() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsConstrained ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsEligibleForCrazyIvan46 ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsEqualToPath ¶
func (n NWPath) IsEqualToPath(path objectivec.IObject) bool
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsExpensive ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsFiltered ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsFlowDivert ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsLinkQualityAbort ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsListener ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsListenerInterfaceSpecific ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsPerAppVPN ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) IsUltraConstrained ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) MaximumDatagramSize ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) NetworkAgentsOfType ¶
func (n NWPath) NetworkAgentsOfType(type_ objc.Class) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) OverrideDNSSearchDomains ¶
func (n NWPath) OverrideDNSSearchDomains() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) OverrideDNSServers ¶
func (n NWPath) OverrideDNSServers() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) OverrideDNSServersAsStrings ¶
func (n NWPath) OverrideDNSServersAsStrings() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) Parameters ¶
func (n NWPath) Parameters() INWParameters
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) PrivateDescription ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) ProxySettings ¶
func (n NWPath) ProxySettings() foundation.INSArray
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) ReasonDescription ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) ScopedInterface ¶
func (n NWPath) ScopedInterface() INWInterface
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) SecondsSinceInterfaceChange ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) ShouldProbeConnectivity ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) StatusAsString ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) SupportsDNS ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) SupportsIPv4 ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) SupportsIPv6 ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately ¶
func (n NWPath) UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately(address objectivec.IObject) (bool, bool)
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) UsesCompanion ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) UsesInterfaceType ¶
SPI: undocumented; may change or disappear between OS releases.
func (NWPath) UsesNetworkAgent ¶
func (n NWPath) UsesNetworkAgent(agent objectivec.IObject) bool
SPI: undocumented; may change or disappear between OS releases.
type NWPathClass ¶
type NWPathClass struct {
// contains filtered or unexported fields
}
SPI: undocumented; may change or disappear between OS releases.
func GetNWPathClass ¶
func GetNWPathClass() NWPathClass
SPI: undocumented; may change or disappear between OS releases.
GetNWPathClass returns the class object for NWPath.
func (NWPathClass) AllClientIDs ¶
func (_NWPathClass NWPathClass) AllClientIDs() objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPathClass) Alloc ¶
func (nc NWPathClass) Alloc() NWPath
SPI: undocumented; may change or disappear between OS releases.
Alloc allocates memory for a new instance of the class.
func (NWPathClass) Class ¶
func (nc NWPathClass) Class() objc.Class
SPI: undocumented; may change or disappear between OS releases.
Class returns the underlying Objective-C class pointer.
func (NWPathClass) CreateStringFromStatus ¶
func (_NWPathClass NWPathClass) CreateStringFromStatus(status int64) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPathClass) PathForClientID ¶
func (_NWPathClass NWPathClass) PathForClientID(id objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPathClass) PathForClientIDParametersTLVPathResultTLV ¶
func (_NWPathClass NWPathClass) PathForClientIDParametersTLVPathResultTLV(id objectivec.IObject, tlv objectivec.IObject, tlv2 objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
func (NWPathClass) PathWithProtocolBufferData ¶
func (_NWPathClass NWPathClass) PathWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
type NWPrettyDescription ¶
type NWPrettyDescription interface {
objectivec.IObject
// DescriptionWithIndentShowFullContent protocol.
DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
}
SPI: undocumented; may change or disappear between OS releases.
NWPrettyDescription protocol.
type NWPrettyDescriptionObject ¶
type NWPrettyDescriptionObject struct {
objectivec.Object
}
SPI: undocumented; may change or disappear between OS releases.
NWPrettyDescriptionObject wraps an existing Objective-C object that conforms to the NWPrettyDescription protocol.
func NWPrettyDescriptionObjectFromID ¶
func NWPrettyDescriptionObjectFromID(id objc.ID) NWPrettyDescriptionObject
SPI: undocumented; may change or disappear between OS releases.
NWPrettyDescriptionObjectFromID constructs a NWPrettyDescriptionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (NWPrettyDescriptionObject) BaseObject ¶
func (o NWPrettyDescriptionObject) BaseObject() objectivec.Object
SPI: undocumented; may change or disappear between OS releases.
func (NWPrettyDescriptionObject) DescriptionWithIndentShowFullContent ¶
func (o NWPrettyDescriptionObject) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
SPI: undocumented; may change or disappear between OS releases.
type NWProtocolOptions ¶ added in v0.6.17
type NWProtocolOptions = publicapi.NWProtocolOptions
Source Files
¶
- blocks.gen.go
- copying_protocol.gen.go
- doc.gen.go
- functions.gen.go
- generate.go
- nw_advertise_descriptor.gen.go
- nw_browse_descriptor.gen.go
- nw_browser.gen.go
- nw_connection.gen.go
- nw_endpoint.gen.go
- nw_interface.gen.go
- nw_parameters.gen.go
- nw_path.gen.go
- nw_pretty_description_protocol.gen.go
- public_interop_aliases.gen.go
- secure_coding_protocol.gen.go
- types.gen.go
- undefined_types.gen.go