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 NewErrorBlock(handler ErrorHandler) (objc.ID, func())
- 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 int, 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.INSData)
- func (n NWAdvertiseDescriptor) TxtRecord() foundation.INSData
- 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 int, 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_ int) 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 int) 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.INSError
- func (n NWConnection) ForceCancel()
- func (n NWConnection) GetConnectedSocket() int
- func (n NWConnection) HasBetterPath() bool
- func (n NWConnection) Init() NWConnection
- func (n NWConnection) InitWithConnectedSocket(socket int) 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.INSError
- 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.INSError)
- 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
- func (n NWConnection) Viable() bool
- 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 int) 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 int, 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.INSData)
- func (n NWEndpoint) TxtRecord() foundation.INSData
- type NWEndpointClass
- func (nc NWEndpointClass) Alloc() NWEndpoint
- func (nc NWEndpointClass) Class() objc.Class
- func (_NWEndpointClass NWEndpointClass) CopyClassForEndpointType(type_ int) 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) Constrained() bool
- 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 int, content bool) objectivec.IObject
- func (n NWInterface) EncodeWithCoder(coder foundation.INSCoder)
- func (n NWInterface) Expensive() bool
- 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) Ipv4Routable() bool
- func (n NWInterface) Ipv6Routable() bool
- 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) CopyRequiredAgentsDescription() objectivec.IObject
- func (n NWParameters) CreateProtocolBufferObject() objectivec.IObject
- func (n NWParameters) DataMode() uint64
- func (n NWParameters) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
- func (n NWParameters) DisableNagleAlgorithm() bool
- func (n NWParameters) Discretionary() bool
- func (n NWParameters) DryRun() 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 int) 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.INSData
- func (n NWParameters) MinimumSSLProtocolVersion() uint64
- func (n NWParameters) MinimumSSLProtocolVersionInternal() uint64
- func (n NWParameters) Multipath() bool
- func (n NWParameters) MultipathForceEnable() bool
- func (n NWParameters) MultipathService() int
- func (n NWParameters) NoProxy() bool
- func (n NWParameters) ParentID() foundation.NSUUID
- func (n NWParameters) ParentIDs() foundation.INSArray
- func (n NWParameters) Pid() int
- 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.INSURL
- 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.INSData)
- 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 int)
- func (n NWParameters) SetNoProxy(value bool)
- func (n NWParameters) SetParentID(value foundation.NSUUID)
- func (n NWParameters) SetPid(value int)
- 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.INSData)
- func (n NWParameters) SetTrafficClass(value uint64)
- func (n NWParameters) SetTrustInvalidCertificates(value bool)
- func (n NWParameters) SetUid(value uint32)
- func (n NWParameters) SetUrl(value foundation.INSURL)
- func (n NWParameters) SetUseAWDL(value bool)
- func (n NWParameters) SetUseLongOutstandingQueries(value bool)
- func (n NWParameters) SetUseP2P(value bool)
- func (n NWParameters) TLSSessionID() foundation.INSData
- func (n NWParameters) TlsVersionWithSSLProtocol(sSLProtocol int) 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.INSURL
- func (n NWParameters) UseAWDL() bool
- func (n NWParameters) UseLongOutstandingQueries() bool
- func (n NWParameters) UseP2P() bool
- func (n NWParameters) Valid() 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) Constrained() bool
- 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 int, content bool) objectivec.IObject
- func (n NWPath) Direct() bool
- func (n NWPath) DnsSearchDomains() foundation.INSArray
- func (n NWPath) DnsServers() foundation.INSArray
- func (n NWPath) DnsServersAsStrings() foundation.INSArray
- func (n NWPath) DnsServiceID() int
- func (n NWPath) EffectiveLocalEndpoint() INWEndpoint
- func (n NWPath) EffectiveRemoteEndpoint() INWEndpoint
- func (n NWPath) EligibleForCrazyIvan46() bool
- func (n NWPath) Endpoint() INWEndpoint
- func (n NWPath) Expensive() bool
- 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) Filtered() bool
- func (n NWPath) FlowDivert() bool
- 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) Listener() bool
- func (n NWPath) Local() 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) PerAppVPN() bool
- 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) Roaming() bool
- 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
- func (n NWPath) Viable() 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrorBlock ¶
func NewErrorBlock(handler ErrorHandler) (objc.ID, func())
NewErrorBlock wraps a Go ErrorHandler as an Objective-C block. The caller must defer the returned cleanup function.
Used by:
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 int, content bool) objectivec.IObject
InternalDescriptor() objectivec.Object
SetInternalDescriptor(value objectivec.Object)
PrivateDescription() objectivec.IObject
TxtRecord() foundation.INSData
SetTxtRecord(value foundation.INSData)
InitWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor
InitWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
}
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]
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor
type INWBrowseDescriptor ¶
type INWBrowseDescriptor interface {
objectivec.IObject
BonjourServiceDomain() string
BonjourServiceType() string
BrowseWithCompletionHandler(handler ErrorHandler)
CreateProtocolBufferObject() objectivec.IObject
DescriptionWithIndentShowFullContent(indent int, 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
}
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]
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor
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
}
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]
See: https://developer.apple.com/documentation/Network/NWBrowser
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.INSError
ForceCancel()
GetConnectedSocket() int
HasBetterPath() bool
InternalConnection() unsafe.Pointer
SetInternalConnection(value unsafe.Pointer)
InternalConnectionState() int64
SetInternalConnectionState(value int64)
InternalError() foundation.INSError
SetInternalError(value foundation.INSError)
InternalHasBetterPath() bool
SetInternalHasBetterPath(value bool)
InternalIsViable() bool
SetInternalIsViable(value bool)
InternalPath() INWPath
SetInternalPath(value INWPath)
IsViable() bool
Parameters() INWParameters
Start()
TlsConnectionTime() uint32
InitWithConnectedSocket(socket int) NWConnection
InitWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
InitWithInternalConnection(connection objectivec.IObject) NWConnection
Viable() bool
}
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.IsViable]
- [INWConnection.Parameters]
- [INWConnection.Start]
- [INWConnection.TlsConnectionTime]
- [INWConnection.InitWithConnectedSocket]
- [INWConnection.InitWithEndpointParameters]
- [INWConnection.InitWithInternalConnection]
- [INWConnection.Viable]
See: https://developer.apple.com/documentation/Network/NWConnection
type INWEndpoint ¶
type INWEndpoint interface {
objectivec.IObject
AlternatePort() uint16
SetAlternatePort(value uint16)
CopyCEndpoint() objectivec.IObject
CreateProtocolBufferObject() objectivec.IObject
DescriptionWithIndentShowFullContent(indent int, 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.INSData
SetTxtRecord(value foundation.INSData)
InitWithCoder(coder foundation.INSCoder) NWEndpoint
InitWithEndpoint(endpoint objectivec.IObject) NWEndpoint
}
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]
See: https://developer.apple.com/documentation/Network/NWEndpoint
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 int, 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
IsConstrained() bool
IsDeepEqual(equal objectivec.IObject) bool
IsExpensive() bool
IsIPv4Routable() bool
IsIPv6Routable() 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
Constrained() bool
Expensive() bool
Ipv4Routable() bool
Ipv6Routable() bool
}
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.IsConstrained]
- [INWInterface.IsDeepEqual]
- [INWInterface.IsExpensive]
- [INWInterface.IsIPv4Routable]
- [INWInterface.IsIPv6Routable]
- [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.Constrained]
- [INWInterface.Expensive]
- [INWInterface.Ipv4Routable]
- [INWInterface.Ipv6Routable]
See: https://developer.apple.com/documentation/Network/NWInterface
type INWParameters ¶
type INWParameters interface {
objectivec.IObject
SSLCipherSuites() foundation.INSSet
SetSSLCipherSuites(value foundation.INSSet)
SSLCipherSuitesInternal() foundation.INSSet
SetSSLCipherSuitesInternal(value foundation.INSSet)
TLSSessionID() foundation.INSData
SetTLSSessionID(value foundation.INSData)
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
CopyRequiredAgentsDescription() objectivec.IObject
CreateProtocolBufferObject() objectivec.IObject
DataMode() uint64
SetDataMode(value uint64)
DescriptionWithIndentShowFullContent(indent int, 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 int) 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
IsDiscretionary() bool
IsDryRun() bool
IsValid() bool
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.INSData
SetMetadata(value foundation.INSData)
MinimumSSLProtocolVersion() uint64
SetMinimumSSLProtocolVersion(value uint64)
MinimumSSLProtocolVersionInternal() uint64
SetMinimumSSLProtocolVersionInternal(value uint64)
Multipath() bool
SetMultipath(value bool)
MultipathForceEnable() bool
SetMultipathForceEnable(value bool)
MultipathService() int
SetMultipathService(value int)
NoProxy() bool
SetNoProxy(value bool)
ParentID() foundation.NSUUID
SetParentID(value foundation.NSUUID)
ParentIDs() foundation.INSArray
Pid() int
SetPid(value int)
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.INSURL
SetInitialDataPayload(payload objectivec.IObject)
SetSourceApplicationWithBundleID(id objectivec.IObject)
TlsVersionWithSSLProtocol(sSLProtocol int) uint16
TrafficClass() uint64
SetTrafficClass(value uint64)
TransportProtocol() byte
TrustInvalidCertificates() bool
SetTrustInvalidCertificates(value bool)
Uid() uint32
SetUid(value uint32)
Url() foundation.INSURL
SetUrl(value foundation.INSURL)
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
Discretionary() bool
SetDiscretionary(value bool)
DryRun() bool
Valid() bool
}
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.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.IsDiscretionary]
- [INWParameters.IsDryRun]
- [INWParameters.IsValid]
- [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.Discretionary]
- [INWParameters.SetDiscretionary]
- [INWParameters.DryRun]
- [INWParameters.Valid]
See: https://developer.apple.com/documentation/Network/NWParameters
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 int, content bool) objectivec.IObject
DnsSearchDomains() foundation.INSArray
DnsServers() foundation.INSArray
DnsServersAsStrings() foundation.INSArray
DnsServiceID() int
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
IsConstrained() bool
IsDirect() bool
IsEligibleForCrazyIvan46() bool
IsEqualToPath(path objectivec.IObject) bool
IsExpensive() bool
IsFiltered() bool
IsFlowDivert() bool
IsLinkQualityAbort() bool
IsListener() bool
IsListenerInterfaceSpecific() bool
IsLocal() bool
IsPerAppVPN() bool
IsRoaming() bool
IsUltraConstrained() bool
IsViable() 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
Constrained() bool
Direct() bool
EligibleForCrazyIvan46() bool
Expensive() bool
Filtered() bool
FlowDivert() bool
Listener() bool
Local() bool
PerAppVPN() bool
Roaming() bool
Viable() bool
}
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.IsConstrained]
- [INWPath.IsDirect]
- [INWPath.IsEligibleForCrazyIvan46]
- [INWPath.IsEqualToPath]
- [INWPath.IsExpensive]
- [INWPath.IsFiltered]
- [INWPath.IsFlowDivert]
- [INWPath.IsLinkQualityAbort]
- [INWPath.IsListener]
- [INWPath.IsListenerInterfaceSpecific]
- [INWPath.IsLocal]
- [INWPath.IsPerAppVPN]
- [INWPath.IsRoaming]
- [INWPath.IsUltraConstrained]
- [INWPath.IsViable]
- [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.Constrained]
- [INWPath.Direct]
- [INWPath.EligibleForCrazyIvan46]
- [INWPath.Expensive]
- [INWPath.Filtered]
- [INWPath.FlowDivert]
- [INWPath.Listener]
- [INWPath.Local]
- [INWPath.PerAppVPN]
- [INWPath.Roaming]
- [INWPath.Viable]
See: https://developer.apple.com/documentation/Network/NWPath
type NSCopying ¶
type NSCopying interface {
objectivec.IObject
}
NSCopying protocol.
See: https://developer.apple.com/documentation/Network/NSCopying
type NSCopyingObject ¶
type NSCopyingObject struct {
objectivec.Object
}
NSCopyingObject wraps an existing Objective-C object that conforms to the NSCopying protocol.
func NSCopyingObjectFromID ¶
func NSCopyingObjectFromID(id objc.ID) NSCopyingObject
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
type NSSecureCoding ¶
type NSSecureCoding interface {
objectivec.IObject
// SupportsSecureCoding protocol.
//
// See: https://developer.apple.com/documentation/Network/NSSecureCoding/supportsSecureCoding
SupportsSecureCoding() bool
}
NSSecureCoding protocol.
See: https://developer.apple.com/documentation/Network/NSSecureCoding
type NSSecureCodingObject ¶
type NSSecureCodingObject struct {
objectivec.Object
}
NSSecureCodingObject wraps an existing Objective-C object that conforms to the NSSecureCoding protocol.
func NSSecureCodingObjectFromID ¶
func NSSecureCodingObjectFromID(id objc.ID) NSSecureCodingObject
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
func (NSSecureCodingObject) SupportsSecureCoding ¶
func (o NSSecureCodingObject) SupportsSecureCoding() bool
See: https://developer.apple.com/documentation/Network/NSSecureCoding/supportsSecureCoding
type NWAdvertiseDescriptor ¶
type NWAdvertiseDescriptor struct {
objectivec.Object
}
Methods ¶
- NWAdvertiseDescriptor.BonjourServiceDomain
- NWAdvertiseDescriptor.BonjourServiceName
- NWAdvertiseDescriptor.BonjourServiceType
- NWAdvertiseDescriptor.DescriptionWithIndentShowFullContent
- NWAdvertiseDescriptor.InternalDescriptor
- NWAdvertiseDescriptor.SetInternalDescriptor
- NWAdvertiseDescriptor.PrivateDescription
- NWAdvertiseDescriptor.TxtRecord
- NWAdvertiseDescriptor.SetTxtRecord
- NWAdvertiseDescriptor.InitWithDescriptor
- NWAdvertiseDescriptor.InitWithNameTypeDomain
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor
func NWAdvertiseDescriptorFromID ¶
func NWAdvertiseDescriptorFromID(id objc.ID) NWAdvertiseDescriptor
NWAdvertiseDescriptorFromID constructs a NWAdvertiseDescriptor from an objc.ID.
func NewNWAdvertiseDescriptor ¶
func NewNWAdvertiseDescriptor() NWAdvertiseDescriptor
NewNWAdvertiseDescriptor creates a new NWAdvertiseDescriptor instance.
func NewNWAdvertiseDescriptorWithDescriptor ¶
func NewNWAdvertiseDescriptorWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/initWithDescriptor:
func NewNWAdvertiseDescriptorWithNameTypeDomain ¶
func NewNWAdvertiseDescriptorWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/initWithName:type:domain:
func (NWAdvertiseDescriptor) Autorelease ¶
func (n NWAdvertiseDescriptor) Autorelease() NWAdvertiseDescriptor
Autorelease adds the receiver to the current autorelease pool.
func (NWAdvertiseDescriptor) BonjourServiceDomain ¶
func (n NWAdvertiseDescriptor) BonjourServiceDomain() string
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/bonjourServiceDomain
func (NWAdvertiseDescriptor) BonjourServiceName ¶
func (n NWAdvertiseDescriptor) BonjourServiceName() string
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/bonjourServiceName
func (NWAdvertiseDescriptor) BonjourServiceType ¶
func (n NWAdvertiseDescriptor) BonjourServiceType() string
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/bonjourServiceType
func (NWAdvertiseDescriptor) DescriptionWithIndentShowFullContent ¶
func (n NWAdvertiseDescriptor) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
func (NWAdvertiseDescriptor) Init ¶
func (n NWAdvertiseDescriptor) Init() NWAdvertiseDescriptor
Init initializes the instance.
func (NWAdvertiseDescriptor) InitWithDescriptor ¶
func (n NWAdvertiseDescriptor) InitWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/initWithDescriptor:
func (NWAdvertiseDescriptor) InitWithNameTypeDomain ¶
func (n NWAdvertiseDescriptor) InitWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/initWithName:type:domain:
func (NWAdvertiseDescriptor) InternalDescriptor ¶
func (n NWAdvertiseDescriptor) InternalDescriptor() objectivec.Object
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/internalDescriptor
func (NWAdvertiseDescriptor) PrivateDescription ¶
func (n NWAdvertiseDescriptor) PrivateDescription() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/privateDescription
func (NWAdvertiseDescriptor) SetInternalDescriptor ¶
func (n NWAdvertiseDescriptor) SetInternalDescriptor(value objectivec.Object)
func (NWAdvertiseDescriptor) SetTxtRecord ¶
func (n NWAdvertiseDescriptor) SetTxtRecord(value foundation.INSData)
func (NWAdvertiseDescriptor) TxtRecord ¶
func (n NWAdvertiseDescriptor) TxtRecord() foundation.INSData
See: https://developer.apple.com/documentation/Network/NWAdvertiseDescriptor/txtRecord
type NWAdvertiseDescriptorClass ¶
type NWAdvertiseDescriptorClass struct {
// contains filtered or unexported fields
}
func GetNWAdvertiseDescriptorClass ¶
func GetNWAdvertiseDescriptorClass() NWAdvertiseDescriptorClass
GetNWAdvertiseDescriptorClass returns the class object for NWAdvertiseDescriptor.
func (NWAdvertiseDescriptorClass) Alloc ¶
func (nc NWAdvertiseDescriptorClass) Alloc() NWAdvertiseDescriptor
Alloc allocates memory for a new instance of the class.
func (NWAdvertiseDescriptorClass) Class ¶
func (nc NWAdvertiseDescriptorClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type NWBrowseDescriptor ¶
type NWBrowseDescriptor struct {
objectivec.Object
}
Methods ¶
- NWBrowseDescriptor.BonjourServiceDomain
- NWBrowseDescriptor.BonjourServiceType
- NWBrowseDescriptor.BrowseWithCompletionHandler
- NWBrowseDescriptor.CreateProtocolBufferObject
- NWBrowseDescriptor.DescriptionWithIndentShowFullContent
- NWBrowseDescriptor.EncodedData
- NWBrowseDescriptor.InternalDescriptor
- NWBrowseDescriptor.SetInternalDescriptor
- NWBrowseDescriptor.PrivateDescription
- NWBrowseDescriptor.InitWithDescriptor
- NWBrowseDescriptor.InitWithEncodedData
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor
func NWBrowseDescriptorFromID ¶
func NWBrowseDescriptorFromID(id objc.ID) NWBrowseDescriptor
NWBrowseDescriptorFromID constructs a NWBrowseDescriptor from an objc.ID.
func NewNWBrowseDescriptor ¶
func NewNWBrowseDescriptor() NWBrowseDescriptor
NewNWBrowseDescriptor creates a new NWBrowseDescriptor instance.
func NewNWBrowseDescriptorWithDescriptor ¶
func NewNWBrowseDescriptorWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/initWithDescriptor:
func NewNWBrowseDescriptorWithEncodedData ¶
func NewNWBrowseDescriptorWithEncodedData(data objectivec.IObject) NWBrowseDescriptor
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/initWithEncodedData:
func (NWBrowseDescriptor) Autorelease ¶
func (n NWBrowseDescriptor) Autorelease() NWBrowseDescriptor
Autorelease adds the receiver to the current autorelease pool.
func (NWBrowseDescriptor) BonjourServiceDomain ¶
func (n NWBrowseDescriptor) BonjourServiceDomain() string
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/bonjourServiceDomain
func (NWBrowseDescriptor) BonjourServiceType ¶
func (n NWBrowseDescriptor) BonjourServiceType() string
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/bonjourServiceType
func (NWBrowseDescriptor) Browse ¶
func (n NWBrowseDescriptor) Browse(ctx context.Context) error
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)
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/browseWithCompletionHandler:
func (NWBrowseDescriptor) CreateProtocolBufferObject ¶
func (n NWBrowseDescriptor) CreateProtocolBufferObject() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/createProtocolBufferObject
func (NWBrowseDescriptor) DescriptionWithIndentShowFullContent ¶
func (n NWBrowseDescriptor) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
func (NWBrowseDescriptor) EncodedData ¶
func (n NWBrowseDescriptor) EncodedData() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/encodedData
func (NWBrowseDescriptor) Init ¶
func (n NWBrowseDescriptor) Init() NWBrowseDescriptor
Init initializes the instance.
func (NWBrowseDescriptor) InitWithDescriptor ¶
func (n NWBrowseDescriptor) InitWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/initWithDescriptor:
func (NWBrowseDescriptor) InitWithEncodedData ¶
func (n NWBrowseDescriptor) InitWithEncodedData(data objectivec.IObject) NWBrowseDescriptor
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/initWithEncodedData:
func (NWBrowseDescriptor) InternalDescriptor ¶
func (n NWBrowseDescriptor) InternalDescriptor() objectivec.Object
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/internalDescriptor
func (NWBrowseDescriptor) PrivateDescription ¶
func (n NWBrowseDescriptor) PrivateDescription() string
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/privateDescription
func (NWBrowseDescriptor) SetInternalDescriptor ¶
func (n NWBrowseDescriptor) SetInternalDescriptor(value objectivec.Object)
type NWBrowseDescriptorClass ¶
type NWBrowseDescriptorClass struct {
// contains filtered or unexported fields
}
func GetNWBrowseDescriptorClass ¶
func GetNWBrowseDescriptorClass() NWBrowseDescriptorClass
GetNWBrowseDescriptorClass returns the class object for NWBrowseDescriptor.
func (NWBrowseDescriptorClass) Alloc ¶
func (nc NWBrowseDescriptorClass) Alloc() NWBrowseDescriptor
Alloc allocates memory for a new instance of the class.
func (NWBrowseDescriptorClass) Class ¶
func (nc NWBrowseDescriptorClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (NWBrowseDescriptorClass) CopyClassForDescriptorType ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) CopyClassForDescriptorType(type_ int) objc.Class
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/copyClassForDescriptorType:
func (NWBrowseDescriptorClass) DescriptorType ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorType() uint32
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/descriptorType
func (NWBrowseDescriptorClass) DescriptorWithInternalDescriptor ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorWithInternalDescriptor(descriptor objectivec.IObject) objectivec.IObject
func (NWBrowseDescriptorClass) DescriptorWithProtocolBufferData ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
func (NWBrowseDescriptorClass) SupportsBrowseCallback ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) SupportsBrowseCallback() bool
See: https://developer.apple.com/documentation/Network/NWBrowseDescriptor/supportsBrowseCallback
type NWBrowser ¶
type NWBrowser struct {
objectivec.Object
}
Methods ¶
- NWBrowser.Cancel
- NWBrowser.CopyDiscoveredEndpoints
- NWBrowser.Descriptor
- NWBrowser.DiscoveredEndpoints
- NWBrowser.InternalBrowser
- NWBrowser.InternalDiscoveredEndpoints
- NWBrowser.SetInternalDiscoveredEndpoints
- NWBrowser.Parameters
- NWBrowser.SetUpdateHandler
- NWBrowser.InitWithDescriptorParameters
See: https://developer.apple.com/documentation/Network/NWBrowser
func NWBrowserFromID ¶
NWBrowserFromID constructs a NWBrowser from an objc.ID.
func NewNWBrowserWithDescriptorParameters ¶
func NewNWBrowserWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser
See: https://developer.apple.com/documentation/Network/NWBrowser/initWithDescriptor:parameters:
func (NWBrowser) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (NWBrowser) Cancel ¶
func (n NWBrowser) Cancel()
See: https://developer.apple.com/documentation/Network/NWBrowser/cancel
func (NWBrowser) CopyDiscoveredEndpoints ¶
func (n NWBrowser) CopyDiscoveredEndpoints() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWBrowser/copyDiscoveredEndpoints
func (NWBrowser) Descriptor ¶
func (n NWBrowser) Descriptor() INWBrowseDescriptor
See: https://developer.apple.com/documentation/Network/NWBrowser/descriptor
func (NWBrowser) DiscoveredEndpoints ¶
func (n NWBrowser) DiscoveredEndpoints() foundation.INSSet
See: https://developer.apple.com/documentation/Network/NWBrowser/discoveredEndpoints
func (NWBrowser) InitWithDescriptorParameters ¶
func (n NWBrowser) InitWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser
See: https://developer.apple.com/documentation/Network/NWBrowser/initWithDescriptor:parameters:
func (NWBrowser) InternalBrowser ¶
func (n NWBrowser) InternalBrowser() objectivec.Object
See: https://developer.apple.com/documentation/Network/NWBrowser/internalBrowser
func (NWBrowser) InternalDiscoveredEndpoints ¶
func (n NWBrowser) InternalDiscoveredEndpoints() foundation.INSSet
See: https://developer.apple.com/documentation/Network/NWBrowser/internalDiscoveredEndpoints
func (NWBrowser) Parameters ¶
func (n NWBrowser) Parameters() INWParameters
See: https://developer.apple.com/documentation/Network/NWBrowser/parameters
func (NWBrowser) SetInternalDiscoveredEndpoints ¶
func (n NWBrowser) SetInternalDiscoveredEndpoints(value foundation.INSSet)
func (NWBrowser) SetUpdateHandler ¶
func (n NWBrowser) SetUpdateHandler()
See: https://developer.apple.com/documentation/Network/NWBrowser/setUpdateHandler
type NWBrowserClass ¶
type NWBrowserClass struct {
// contains filtered or unexported fields
}
func GetNWBrowserClass ¶
func GetNWBrowserClass() NWBrowserClass
GetNWBrowserClass returns the class object for NWBrowser.
func (NWBrowserClass) Alloc ¶
func (nc NWBrowserClass) Alloc() NWBrowser
Alloc allocates memory for a new instance of the class.
func (NWBrowserClass) AutomaticallyNotifiesObserversForKey ¶
func (_NWBrowserClass NWBrowserClass) AutomaticallyNotifiesObserversForKey(key objectivec.IObject) bool
See: https://developer.apple.com/documentation/Network/NWBrowser/automaticallyNotifiesObserversForKey:
func (NWBrowserClass) Class ¶
func (nc NWBrowserClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type NWConnection ¶
type NWConnection struct {
objectivec.Object
}
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.IsViable
- NWConnection.Parameters
- NWConnection.Start
- NWConnection.TlsConnectionTime
- NWConnection.InitWithConnectedSocket
- NWConnection.InitWithEndpointParameters
- NWConnection.InitWithInternalConnection
- NWConnection.Viable
See: https://developer.apple.com/documentation/Network/NWConnection
func NWConnectionFromID ¶
func NWConnectionFromID(id objc.ID) NWConnection
NWConnectionFromID constructs a NWConnection from an objc.ID.
func NewNWConnection ¶
func NewNWConnection() NWConnection
NewNWConnection creates a new NWConnection instance.
func NewNWConnectionWithConnectedSocket ¶
func NewNWConnectionWithConnectedSocket(socket int) NWConnection
See: https://developer.apple.com/documentation/Network/NWConnection/initWithConnectedSocket:
func NewNWConnectionWithEndpointParameters ¶
func NewNWConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
See: https://developer.apple.com/documentation/Network/NWConnection/initWithEndpoint:parameters:
func NewNWConnectionWithInternalConnection ¶
func NewNWConnectionWithInternalConnection(connection objectivec.IObject) NWConnection
See: https://developer.apple.com/documentation/Network/NWConnection/initWithInternalConnection:
func (NWConnection) Autorelease ¶
func (n NWConnection) Autorelease() NWConnection
Autorelease adds the receiver to the current autorelease pool.
func (NWConnection) Cancel ¶
func (n NWConnection) Cancel()
See: https://developer.apple.com/documentation/Network/NWConnection/cancel
func (NWConnection) CancelCurrentEndpoint ¶
func (n NWConnection) CancelCurrentEndpoint()
See: https://developer.apple.com/documentation/Network/NWConnection/cancelCurrentEndpoint
func (NWConnection) ConnectedLocalEndpoint ¶
func (n NWConnection) ConnectedLocalEndpoint() INWEndpoint
See: https://developer.apple.com/documentation/Network/NWConnection/connectedLocalEndpoint
func (NWConnection) ConnectedRemoteEndpoint ¶
func (n NWConnection) ConnectedRemoteEndpoint() INWEndpoint
See: https://developer.apple.com/documentation/Network/NWConnection/connectedRemoteEndpoint
func (NWConnection) ConnectionState ¶
func (n NWConnection) ConnectionState() int64
See: https://developer.apple.com/documentation/Network/NWConnection/connectionState
func (NWConnection) CopyCurrentPath ¶
func (n NWConnection) CopyCurrentPath() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWConnection/copyCurrentPath
func (NWConnection) CopyError ¶
func (n NWConnection) CopyError() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWConnection/copyError
func (NWConnection) CurrentPath ¶
func (n NWConnection) CurrentPath() INWPath
See: https://developer.apple.com/documentation/Network/NWConnection/currentPath
func (NWConnection) Endpoint ¶
func (n NWConnection) Endpoint() INWEndpoint
See: https://developer.apple.com/documentation/Network/NWConnection/endpoint
func (NWConnection) Error ¶
func (n NWConnection) Error() foundation.INSError
See: https://developer.apple.com/documentation/Network/NWConnection/error
func (NWConnection) ForceCancel ¶
func (n NWConnection) ForceCancel()
See: https://developer.apple.com/documentation/Network/NWConnection/forceCancel
func (NWConnection) GetConnectedSocket ¶
func (n NWConnection) GetConnectedSocket() int
See: https://developer.apple.com/documentation/Network/NWConnection/getConnectedSocket
func (NWConnection) HasBetterPath ¶
func (n NWConnection) HasBetterPath() bool
See: https://developer.apple.com/documentation/Network/NWConnection/hasBetterPath
func (NWConnection) InitWithConnectedSocket ¶
func (n NWConnection) InitWithConnectedSocket(socket int) NWConnection
See: https://developer.apple.com/documentation/Network/NWConnection/initWithConnectedSocket:
func (NWConnection) InitWithEndpointParameters ¶
func (n NWConnection) InitWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
See: https://developer.apple.com/documentation/Network/NWConnection/initWithEndpoint:parameters:
func (NWConnection) InitWithInternalConnection ¶
func (n NWConnection) InitWithInternalConnection(connection objectivec.IObject) NWConnection
See: https://developer.apple.com/documentation/Network/NWConnection/initWithInternalConnection:
func (NWConnection) InternalConnection ¶
func (n NWConnection) InternalConnection() unsafe.Pointer
See: https://developer.apple.com/documentation/Network/NWConnection/internalConnection
func (NWConnection) InternalConnectionState ¶
func (n NWConnection) InternalConnectionState() int64
See: https://developer.apple.com/documentation/Network/NWConnection/internalConnectionState
func (NWConnection) InternalError ¶
func (n NWConnection) InternalError() foundation.INSError
See: https://developer.apple.com/documentation/Network/NWConnection/internalError
func (NWConnection) InternalHasBetterPath ¶
func (n NWConnection) InternalHasBetterPath() bool
See: https://developer.apple.com/documentation/Network/NWConnection/internalHasBetterPath
func (NWConnection) InternalIsViable ¶
func (n NWConnection) InternalIsViable() bool
See: https://developer.apple.com/documentation/Network/NWConnection/internalIsViable
func (NWConnection) InternalPath ¶
func (n NWConnection) InternalPath() INWPath
See: https://developer.apple.com/documentation/Network/NWConnection/internalPath
func (NWConnection) IsViable ¶
func (n NWConnection) IsViable() bool
See: https://developer.apple.com/documentation/Network/NWConnection/isViable
func (NWConnection) Parameters ¶
func (n NWConnection) Parameters() INWParameters
See: https://developer.apple.com/documentation/Network/NWConnection/parameters
func (NWConnection) SetInternalConnection ¶
func (n NWConnection) SetInternalConnection(value unsafe.Pointer)
func (NWConnection) SetInternalConnectionState ¶
func (n NWConnection) SetInternalConnectionState(value int64)
func (NWConnection) SetInternalError ¶
func (n NWConnection) SetInternalError(value foundation.INSError)
func (NWConnection) SetInternalHasBetterPath ¶
func (n NWConnection) SetInternalHasBetterPath(value bool)
func (NWConnection) SetInternalIsViable ¶
func (n NWConnection) SetInternalIsViable(value bool)
func (NWConnection) SetInternalPath ¶
func (n NWConnection) SetInternalPath(value INWPath)
func (NWConnection) Start ¶
func (n NWConnection) Start()
See: https://developer.apple.com/documentation/Network/NWConnection/start
func (NWConnection) TlsConnectionTime ¶
func (n NWConnection) TlsConnectionTime() uint32
See: https://developer.apple.com/documentation/Network/NWConnection/tlsConnectionTime
func (NWConnection) Viable ¶
func (n NWConnection) Viable() bool
See: https://developer.apple.com/documentation/Network/NWConnection/viable
type NWConnectionClass ¶
type NWConnectionClass struct {
// contains filtered or unexported fields
}
func GetNWConnectionClass ¶
func GetNWConnectionClass() NWConnectionClass
GetNWConnectionClass returns the class object for NWConnection.
func (NWConnectionClass) Alloc ¶
func (nc NWConnectionClass) Alloc() NWConnection
Alloc allocates memory for a new instance of the class.
func (NWConnectionClass) AutomaticallyNotifiesObserversForKey ¶
func (_NWConnectionClass NWConnectionClass) AutomaticallyNotifiesObserversForKey(key objectivec.IObject) bool
See: https://developer.apple.com/documentation/Network/NWConnection/automaticallyNotifiesObserversForKey:
func (NWConnectionClass) Class ¶
func (nc NWConnectionClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (NWConnectionClass) ConnectionWithConnectedSocket ¶
func (_NWConnectionClass NWConnectionClass) ConnectionWithConnectedSocket(socket int) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWConnection/connectionWithConnectedSocket:
func (NWConnectionClass) ConnectionWithEndpointParameters ¶
func (_NWConnectionClass NWConnectionClass) ConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWConnection/connectionWithEndpoint:parameters:
func (NWConnectionClass) ConnectionWithInternalConnection ¶
func (_NWConnectionClass NWConnectionClass) ConnectionWithInternalConnection(connection objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWConnection/connectionWithInternalConnection:
type NWEndpoint ¶
type NWEndpoint struct {
objectivec.Object
}
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
See: https://developer.apple.com/documentation/Network/NWEndpoint
func NWEndpointFromID ¶
func NWEndpointFromID(id objc.ID) NWEndpoint
NWEndpointFromID constructs a NWEndpoint from an objc.ID.
func NewNWEndpoint ¶
func NewNWEndpoint() NWEndpoint
NewNWEndpoint creates a new NWEndpoint instance.
func NewNWEndpointWithCoder ¶
func NewNWEndpointWithCoder(coder objectivec.IObject) NWEndpoint
See: https://developer.apple.com/documentation/Network/NWEndpoint/initWithCoder:
func NewNWEndpointWithEndpoint ¶
func NewNWEndpointWithEndpoint(endpoint objectivec.IObject) NWEndpoint
See: https://developer.apple.com/documentation/Network/NWEndpoint/initWithEndpoint:
func (NWEndpoint) AlternatePort ¶
func (n NWEndpoint) AlternatePort() uint16
See: https://developer.apple.com/documentation/Network/NWEndpoint/alternatePort
func (NWEndpoint) Autorelease ¶
func (n NWEndpoint) Autorelease() NWEndpoint
Autorelease adds the receiver to the current autorelease pool.
func (NWEndpoint) CopyCEndpoint ¶
func (n NWEndpoint) CopyCEndpoint() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWEndpoint/copyCEndpoint
func (NWEndpoint) CreateProtocolBufferObject ¶
func (n NWEndpoint) CreateProtocolBufferObject() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWEndpoint/createProtocolBufferObject
func (NWEndpoint) DescriptionWithIndentShowFullContent ¶
func (n NWEndpoint) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWEndpoint/descriptionWithIndent:showFullContent:
func (NWEndpoint) EncodeWithCoder ¶
func (n NWEndpoint) EncodeWithCoder(coder foundation.INSCoder)
See: https://developer.apple.com/documentation/Network/NWEndpoint/encodeWithCoder:
func (NWEndpoint) EncodedData ¶
func (n NWEndpoint) EncodedData() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWEndpoint/encodedData
func (NWEndpoint) InitWithCoder ¶
func (n NWEndpoint) InitWithCoder(coder foundation.INSCoder) NWEndpoint
See: https://developer.apple.com/documentation/Network/NWEndpoint/initWithCoder:
func (NWEndpoint) InitWithEndpoint ¶
func (n NWEndpoint) InitWithEndpoint(endpoint objectivec.IObject) NWEndpoint
See: https://developer.apple.com/documentation/Network/NWEndpoint/initWithEndpoint:
func (NWEndpoint) Interface ¶
func (n NWEndpoint) Interface() INWInterface
See: https://developer.apple.com/documentation/Network/NWEndpoint/interface
func (NWEndpoint) InternalEndpoint ¶
func (n NWEndpoint) InternalEndpoint() objectivec.Object
See: https://developer.apple.com/documentation/Network/NWEndpoint/internalEndpoint
func (NWEndpoint) ParentEndpointDomain ¶
func (n NWEndpoint) ParentEndpointDomain() string
See: https://developer.apple.com/documentation/Network/NWEndpoint/parentEndpointDomain
func (NWEndpoint) PrivateDescription ¶
func (n NWEndpoint) PrivateDescription() string
See: https://developer.apple.com/documentation/Network/NWEndpoint/privateDescription
func (NWEndpoint) RemoteInterfaceType ¶
func (n NWEndpoint) RemoteInterfaceType() int64
See: https://developer.apple.com/documentation/Network/NWEndpoint/remoteInterfaceType
func (NWEndpoint) SetAlternatePort ¶
func (n NWEndpoint) SetAlternatePort(value uint16)
func (NWEndpoint) SetInterface ¶
func (n NWEndpoint) SetInterface(value INWInterface)
func (NWEndpoint) SetInternalEndpoint ¶
func (n NWEndpoint) SetInternalEndpoint(value objectivec.Object)
func (NWEndpoint) SetRemoteInterfaceType ¶
func (n NWEndpoint) SetRemoteInterfaceType(value int64)
func (NWEndpoint) SetTxtRecord ¶
func (n NWEndpoint) SetTxtRecord(value foundation.INSData)
func (NWEndpoint) TxtRecord ¶
func (n NWEndpoint) TxtRecord() foundation.INSData
See: https://developer.apple.com/documentation/Network/NWEndpoint/txtRecord
type NWEndpointClass ¶
type NWEndpointClass struct {
// contains filtered or unexported fields
}
func GetNWEndpointClass ¶
func GetNWEndpointClass() NWEndpointClass
GetNWEndpointClass returns the class object for NWEndpoint.
func (NWEndpointClass) Alloc ¶
func (nc NWEndpointClass) Alloc() NWEndpoint
Alloc allocates memory for a new instance of the class.
func (NWEndpointClass) Class ¶
func (nc NWEndpointClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (NWEndpointClass) CopyClassForEndpointType ¶
func (_NWEndpointClass NWEndpointClass) CopyClassForEndpointType(type_ int) objc.Class
See: https://developer.apple.com/documentation/Network/NWEndpoint/copyClassForEndpointType:
func (NWEndpointClass) EndpointType ¶
func (_NWEndpointClass NWEndpointClass) EndpointType() uint32
See: https://developer.apple.com/documentation/Network/NWEndpoint/endpointType
func (NWEndpointClass) EndpointWithCEndpoint ¶
func (_NWEndpointClass NWEndpointClass) EndpointWithCEndpoint(cEndpoint objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWEndpoint/endpointWithCEndpoint:
func (NWEndpointClass) EndpointWithInternalEndpoint ¶
func (_NWEndpointClass NWEndpointClass) EndpointWithInternalEndpoint(endpoint objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWEndpoint/endpointWithInternalEndpoint:
func (NWEndpointClass) EndpointWithProtocolBufferData ¶
func (_NWEndpointClass NWEndpointClass) EndpointWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWEndpoint/endpointWithProtocolBufferData:
func (NWEndpointClass) SupportsResolverCallback ¶
func (_NWEndpointClass NWEndpointClass) SupportsResolverCallback() bool
See: https://developer.apple.com/documentation/Network/NWEndpoint/supportsResolverCallback
func (NWEndpointClass) SupportsSecureCoding ¶
func (_NWEndpointClass NWEndpointClass) SupportsSecureCoding() bool
See: https://developer.apple.com/documentation/Network/NWEndpoint/supportsSecureCoding
type NWInterface ¶
type NWInterface struct {
objectivec.Object
}
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.IsConstrained
- NWInterface.IsDeepEqual
- NWInterface.IsExpensive
- NWInterface.IsIPv4Routable
- NWInterface.IsIPv6Routable
- 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.Constrained
- NWInterface.Expensive
- NWInterface.Ipv4Routable
- NWInterface.Ipv6Routable
See: https://developer.apple.com/documentation/Network/NWInterface
func NWInterfaceFromID ¶
func NWInterfaceFromID(id objc.ID) NWInterface
NWInterfaceFromID constructs a NWInterface from an objc.ID.
func NewNWInterface ¶
func NewNWInterface() NWInterface
NewNWInterface creates a new NWInterface instance.
func NewNWInterfaceWithCoder ¶
func NewNWInterfaceWithCoder(coder objectivec.IObject) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithCoder:
func NewNWInterfaceWithInterface ¶
func NewNWInterfaceWithInterface(interface_ objectivec.IObject) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithInterface:
func NewNWInterfaceWithInterfaceIndex ¶
func NewNWInterfaceWithInterfaceIndex(index uint64) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithInterfaceIndex:
func NewNWInterfaceWithInterfaceIndexInterfaceName ¶
func NewNWInterfaceWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithInterfaceIndex:interfaceName:
func NewNWInterfaceWithInterfaceName ¶
func NewNWInterfaceWithInterfaceName(name objectivec.IObject) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithInterfaceName:
func (NWInterface) Autorelease ¶
func (n NWInterface) Autorelease() NWInterface
Autorelease adds the receiver to the current autorelease pool.
func (NWInterface) CInterface ¶
func (n NWInterface) CInterface() objectivec.Object
See: https://developer.apple.com/documentation/Network/NWInterface/cInterface
func (NWInterface) Constrained ¶
func (n NWInterface) Constrained() bool
See: https://developer.apple.com/documentation/Network/NWInterface/constrained
func (NWInterface) CopyLocalAddressForDefaultIPv4 ¶
func (n NWInterface) CopyLocalAddressForDefaultIPv4() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/copyLocalAddressForDefaultIPv4
func (NWInterface) CopyLocalAddressForDefaultIPv6 ¶
func (n NWInterface) CopyLocalAddressForDefaultIPv6() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/copyLocalAddressForDefaultIPv6
func (NWInterface) CopyLocalAddressForRemoteAddress ¶
func (n NWInterface) CopyLocalAddressForRemoteAddress(address objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/copyLocalAddressForRemoteAddress:
func (NWInterface) CreateProtocolBufferObject ¶
func (n NWInterface) CreateProtocolBufferObject() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/createProtocolBufferObject
func (NWInterface) DelegateInterface ¶
func (n NWInterface) DelegateInterface() INWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/delegateInterface
func (NWInterface) DescriptionWithIndentShowFullContent ¶
func (n NWInterface) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/descriptionWithIndent:showFullContent:
func (NWInterface) EncodeWithCoder ¶
func (n NWInterface) EncodeWithCoder(coder foundation.INSCoder)
See: https://developer.apple.com/documentation/Network/NWInterface/encodeWithCoder:
func (NWInterface) Expensive ¶
func (n NWInterface) Expensive() bool
See: https://developer.apple.com/documentation/Network/NWInterface/expensive
func (NWInterface) Generation ¶
func (n NWInterface) Generation() uint64
See: https://developer.apple.com/documentation/Network/NWInterface/generation
func (NWInterface) HasDNS ¶
func (n NWInterface) HasDNS() bool
See: https://developer.apple.com/documentation/Network/NWInterface/hasDNS
func (NWInterface) HasNAT64 ¶
func (n NWInterface) HasNAT64() bool
See: https://developer.apple.com/documentation/Network/NWInterface/hasNAT64
func (NWInterface) InitWithCoder ¶
func (n NWInterface) InitWithCoder(coder foundation.INSCoder) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithCoder:
func (NWInterface) InitWithInterface ¶
func (n NWInterface) InitWithInterface(interface_ objectivec.IObject) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithInterface:
func (NWInterface) InitWithInterfaceIndex ¶
func (n NWInterface) InitWithInterfaceIndex(index uint64) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithInterfaceIndex:
func (NWInterface) InitWithInterfaceIndexInterfaceName ¶
func (n NWInterface) InitWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithInterfaceIndex:interfaceName:
func (NWInterface) InitWithInterfaceName ¶
func (n NWInterface) InitWithInterfaceName(name objectivec.IObject) NWInterface
See: https://developer.apple.com/documentation/Network/NWInterface/initWithInterfaceName:
func (NWInterface) InterfaceIndex ¶
func (n NWInterface) InterfaceIndex() uint64
See: https://developer.apple.com/documentation/Network/NWInterface/interfaceIndex
func (NWInterface) InterfaceName ¶
func (n NWInterface) InterfaceName() string
See: https://developer.apple.com/documentation/Network/NWInterface/interfaceName
func (NWInterface) InternalInterface ¶
func (n NWInterface) InternalInterface() objectivec.Object
See: https://developer.apple.com/documentation/Network/NWInterface/internalInterface
func (NWInterface) Ipv4Broadcast ¶
func (n NWInterface) Ipv4Broadcast() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/ipv4Broadcast
func (NWInterface) Ipv4Netmask ¶
func (n NWInterface) Ipv4Netmask() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/ipv4Netmask
func (NWInterface) Ipv4Routable ¶
func (n NWInterface) Ipv4Routable() bool
See: https://developer.apple.com/documentation/Network/NWInterface/ipv4Routable
func (NWInterface) Ipv6Routable ¶
func (n NWInterface) Ipv6Routable() bool
See: https://developer.apple.com/documentation/Network/NWInterface/ipv6Routable
func (NWInterface) IsConstrained ¶
func (n NWInterface) IsConstrained() bool
See: https://developer.apple.com/documentation/Network/NWInterface/isConstrained
func (NWInterface) IsDeepEqual ¶
func (n NWInterface) IsDeepEqual(equal objectivec.IObject) bool
See: https://developer.apple.com/documentation/Network/NWInterface/isDeepEqual:
func (NWInterface) IsExpensive ¶
func (n NWInterface) IsExpensive() bool
See: https://developer.apple.com/documentation/Network/NWInterface/isExpensive
func (NWInterface) IsIPv4Routable ¶
func (n NWInterface) IsIPv4Routable() bool
See: https://developer.apple.com/documentation/Network/NWInterface/isIPv4Routable
func (NWInterface) IsIPv6Routable ¶
func (n NWInterface) IsIPv6Routable() bool
See: https://developer.apple.com/documentation/Network/NWInterface/isIPv6Routable
func (NWInterface) IsShallowEqual ¶
func (n NWInterface) IsShallowEqual(equal objectivec.IObject) bool
See: https://developer.apple.com/documentation/Network/NWInterface/isShallowEqual:
func (NWInterface) IsUltraConstrained ¶
func (n NWInterface) IsUltraConstrained() bool
See: https://developer.apple.com/documentation/Network/NWInterface/isUltraConstrained
func (NWInterface) Mtu ¶
func (n NWInterface) Mtu() int64
See: https://developer.apple.com/documentation/Network/NWInterface/mtu
func (NWInterface) PrivateDescription ¶
func (n NWInterface) PrivateDescription() string
See: https://developer.apple.com/documentation/Network/NWInterface/privateDescription
func (NWInterface) SetInternalInterface ¶
func (n NWInterface) SetInternalInterface(value objectivec.Object)
func (NWInterface) Subtype ¶
func (n NWInterface) Subtype() int64
See: https://developer.apple.com/documentation/Network/NWInterface/subtype
func (NWInterface) SupportsMulticast ¶
func (n NWInterface) SupportsMulticast() bool
See: https://developer.apple.com/documentation/Network/NWInterface/supportsMulticast
func (NWInterface) Type ¶
func (n NWInterface) Type() int64
See: https://developer.apple.com/documentation/Network/NWInterface/type
func (NWInterface) TypeString ¶
func (n NWInterface) TypeString() string
See: https://developer.apple.com/documentation/Network/NWInterface/typeString
type NWInterfaceClass ¶
type NWInterfaceClass struct {
// contains filtered or unexported fields
}
func GetNWInterfaceClass ¶
func GetNWInterfaceClass() NWInterfaceClass
GetNWInterfaceClass returns the class object for NWInterface.
func (NWInterfaceClass) Alloc ¶
func (nc NWInterfaceClass) Alloc() NWInterface
Alloc allocates memory for a new instance of the class.
func (NWInterfaceClass) Class ¶
func (nc NWInterfaceClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (NWInterfaceClass) DescriptionForSubtype ¶
func (_NWInterfaceClass NWInterfaceClass) DescriptionForSubtype(subtype int64) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/descriptionForSubtype:
func (NWInterfaceClass) DescriptionForType ¶
func (_NWInterfaceClass NWInterfaceClass) DescriptionForType(type_ int64) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/descriptionForType:
func (NWInterfaceClass) InterfaceWithProtocolBufferData ¶
func (_NWInterfaceClass NWInterfaceClass) InterfaceWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWInterface/interfaceWithProtocolBufferData:
func (NWInterfaceClass) SupportsSecureCoding ¶
func (_NWInterfaceClass NWInterfaceClass) SupportsSecureCoding() bool
See: https://developer.apple.com/documentation/Network/NWInterface/supportsSecureCoding
type NWParameters ¶
type NWParameters struct {
objectivec.Object
}
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.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.IsDiscretionary
- NWParameters.IsDryRun
- NWParameters.IsValid
- 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.Discretionary
- NWParameters.SetDiscretionary
- NWParameters.DryRun
- NWParameters.Valid
See: https://developer.apple.com/documentation/Network/NWParameters
func NWParametersCreatePlainTCP ¶
func NWParametersCreatePlainTCP(configureTCP NWParametersConfigureProtocolBlock) NWParameters
NWParametersCreatePlainTCP initializes parameters for cleartext TCP.
func NWParametersFromID ¶
func NWParametersFromID(id objc.ID) NWParameters
NWParametersFromID constructs a NWParameters from an objc.ID.
func NewNWParameters ¶
func NewNWParameters() NWParameters
NewNWParameters creates a new NWParameters instance.
func NewNWParametersWithCoder ¶
func NewNWParametersWithCoder(coder objectivec.IObject) NWParameters
See: https://developer.apple.com/documentation/Network/NWParameters/initWithCoder:
func NewNWParametersWithParameters ¶
func NewNWParametersWithParameters(parameters objectivec.IObject) NWParameters
See: https://developer.apple.com/documentation/Network/NWParameters/initWithParameters:
func TryNWParametersCreatePlainTCP ¶
func TryNWParametersCreatePlainTCP(configureTCP NWParametersConfigureProtocolBlock) (NWParameters, error)
TryNWParametersCreatePlainTCP initializes parameters for cleartext TCP.
func (NWParameters) Account ¶
func (n NWParameters) Account() string
See: https://developer.apple.com/documentation/Network/NWParameters/account
func (NWParameters) AllowDuplicateStateUpdates ¶
func (n NWParameters) AllowDuplicateStateUpdates() bool
See: https://developer.apple.com/documentation/Network/NWParameters/allowDuplicateStateUpdates
func (NWParameters) AllowJoiningConnectedFd ¶
func (n NWParameters) AllowJoiningConnectedFd() bool
See: https://developer.apple.com/documentation/Network/NWParameters/allowJoiningConnectedFd
func (NWParameters) AllowSocketAccess ¶
func (n NWParameters) AllowSocketAccess() bool
See: https://developer.apple.com/documentation/Network/NWParameters/allowSocketAccess
func (NWParameters) AllowUnusableAddresses ¶
func (n NWParameters) AllowUnusableAddresses() bool
See: https://developer.apple.com/documentation/Network/NWParameters/allowUnusableAddresses
func (NWParameters) AttachProtocolListener ¶
func (n NWParameters) AttachProtocolListener() bool
See: https://developer.apple.com/documentation/Network/NWParameters/attachProtocolListener
func (NWParameters) Autorelease ¶
func (n NWParameters) Autorelease() NWParameters
Autorelease adds the receiver to the current autorelease pool.
func (NWParameters) AvoidNetworkAgentWithDomainType ¶
func (n NWParameters) AvoidNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/avoidNetworkAgentWithDomain:type:
func (NWParameters) AvoidNetworkAgentWithUUID ¶
func (n NWParameters) AvoidNetworkAgentWithUUID(uuid objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/avoidNetworkAgentWithUUID:
func (NWParameters) CopyCParameters ¶
func (n NWParameters) CopyCParameters() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWParameters/copyCParameters
func (NWParameters) CopyRequiredAgentsDescription ¶
func (n NWParameters) CopyRequiredAgentsDescription() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWParameters/copyRequiredAgentsDescription
func (NWParameters) CreateProtocolBufferObject ¶
func (n NWParameters) CreateProtocolBufferObject() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWParameters/createProtocolBufferObject
func (NWParameters) DataMode ¶
func (n NWParameters) DataMode() uint64
See: https://developer.apple.com/documentation/Network/NWParameters/dataMode
func (NWParameters) DescriptionWithIndentShowFullContent ¶
func (n NWParameters) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWParameters/descriptionWithIndent:showFullContent:
func (NWParameters) DisableNagleAlgorithm ¶
func (n NWParameters) DisableNagleAlgorithm() bool
See: https://developer.apple.com/documentation/Network/NWParameters/disableNagleAlgorithm
func (NWParameters) Discretionary ¶
func (n NWParameters) Discretionary() bool
See: https://developer.apple.com/documentation/Network/NWParameters/discretionary
func (NWParameters) DryRun ¶
func (n NWParameters) DryRun() bool
See: https://developer.apple.com/documentation/Network/NWParameters/dryRun
func (NWParameters) EffectiveBundleID ¶
func (n NWParameters) EffectiveBundleID() string
See: https://developer.apple.com/documentation/Network/NWParameters/effectiveBundleID
func (NWParameters) EffectiveProcessUUID ¶
func (n NWParameters) EffectiveProcessUUID() foundation.NSUUID
See: https://developer.apple.com/documentation/Network/NWParameters/effectiveProcessUUID
func (NWParameters) EnableTFO ¶
func (n NWParameters) EnableTFO() bool
See: https://developer.apple.com/documentation/Network/NWParameters/enableTFO
func (NWParameters) EnableTFONoCookie ¶
func (n NWParameters) EnableTFONoCookie() bool
See: https://developer.apple.com/documentation/Network/NWParameters/enableTFONoCookie
func (NWParameters) EnableTLS ¶
func (n NWParameters) EnableTLS() bool
See: https://developer.apple.com/documentation/Network/NWParameters/enableTLS
func (NWParameters) EncodeWithCoder ¶
func (n NWParameters) EncodeWithCoder(coder foundation.INSCoder)
See: https://developer.apple.com/documentation/Network/NWParameters/encodeWithCoder:
func (NWParameters) FastOpenForceEnable ¶
func (n NWParameters) FastOpenForceEnable() bool
See: https://developer.apple.com/documentation/Network/NWParameters/fastOpenForceEnable
func (NWParameters) HasDelegatedPIDForOriginatingPID ¶
func (n NWParameters) HasDelegatedPIDForOriginatingPID(pid int) bool
See: https://developer.apple.com/documentation/Network/NWParameters/hasDelegatedPIDForOriginatingPID:
func (NWParameters) HasDelegatedProcessUUID ¶
func (n NWParameters) HasDelegatedProcessUUID() bool
See: https://developer.apple.com/documentation/Network/NWParameters/hasDelegatedProcessUUID
func (NWParameters) HasNonEmptyProxyConfiguration ¶
func (n NWParameters) HasNonEmptyProxyConfiguration() bool
See: https://developer.apple.com/documentation/Network/NWParameters/hasNonEmptyProxyConfiguration
func (NWParameters) HasPreferredNetworkAgents ¶
func (n NWParameters) HasPreferredNetworkAgents() bool
See: https://developer.apple.com/documentation/Network/NWParameters/hasPreferredNetworkAgents
func (NWParameters) HasProhibitedNetworkAgents ¶
func (n NWParameters) HasProhibitedNetworkAgents() bool
See: https://developer.apple.com/documentation/Network/NWParameters/hasProhibitedNetworkAgents
func (NWParameters) HasRequiredNetworkAgents ¶
func (n NWParameters) HasRequiredNetworkAgents() bool
See: https://developer.apple.com/documentation/Network/NWParameters/hasRequiredNetworkAgents
func (NWParameters) HttpsProxyIsOpaque ¶
func (n NWParameters) HttpsProxyIsOpaque() bool
See: https://developer.apple.com/documentation/Network/NWParameters/httpsProxyIsOpaque
func (NWParameters) HttpsProxyOverTLS ¶
func (n NWParameters) HttpsProxyOverTLS() bool
See: https://developer.apple.com/documentation/Network/NWParameters/httpsProxyOverTLS
func (NWParameters) IgnoreResolverStats ¶
func (n NWParameters) IgnoreResolverStats() bool
See: https://developer.apple.com/documentation/Network/NWParameters/ignoreResolverStats
func (NWParameters) Indefinite ¶
func (n NWParameters) Indefinite() bool
See: https://developer.apple.com/documentation/Network/NWParameters/indefinite
func (NWParameters) InitWithCoder ¶
func (n NWParameters) InitWithCoder(coder foundation.INSCoder) NWParameters
See: https://developer.apple.com/documentation/Network/NWParameters/initWithCoder:
func (NWParameters) InitWithParameters ¶
func (n NWParameters) InitWithParameters(parameters objectivec.IObject) NWParameters
See: https://developer.apple.com/documentation/Network/NWParameters/initWithParameters:
func (NWParameters) InternalParameters ¶
func (n NWParameters) InternalParameters() objectivec.Object
See: https://developer.apple.com/documentation/Network/NWParameters/internalParameters
func (NWParameters) IpProtocol ¶
func (n NWParameters) IpProtocol() byte
See: https://developer.apple.com/documentation/Network/NWParameters/ipProtocol
func (NWParameters) IsDiscretionary ¶
func (n NWParameters) IsDiscretionary() bool
See: https://developer.apple.com/documentation/Network/NWParameters/isDiscretionary
func (NWParameters) IsDryRun ¶
func (n NWParameters) IsDryRun() bool
See: https://developer.apple.com/documentation/Network/NWParameters/isDryRun
func (NWParameters) IsValid ¶
func (n NWParameters) IsValid() bool
See: https://developer.apple.com/documentation/Network/NWParameters/isValid
func (NWParameters) KeepAlive ¶
func (n NWParameters) KeepAlive() bool
See: https://developer.apple.com/documentation/Network/NWParameters/keepAlive
func (NWParameters) KeepAliveIdleTime ¶
func (n NWParameters) KeepAliveIdleTime() uint64
See: https://developer.apple.com/documentation/Network/NWParameters/keepAliveIdleTime
func (NWParameters) KeepAliveInterval ¶
func (n NWParameters) KeepAliveInterval() uint64
See: https://developer.apple.com/documentation/Network/NWParameters/keepAliveInterval
func (NWParameters) KeepAliveOffload ¶
func (n NWParameters) KeepAliveOffload() bool
See: https://developer.apple.com/documentation/Network/NWParameters/keepAliveOffload
func (NWParameters) LocalAddress ¶
func (n NWParameters) LocalAddress() unsafe.Pointer
See: https://developer.apple.com/documentation/Network/NWParameters/localAddress
func (NWParameters) MaximumSSLProtocolVersion ¶
func (n NWParameters) MaximumSSLProtocolVersion() uint64
See: https://developer.apple.com/documentation/Network/NWParameters/maximumSSLProtocolVersion
func (NWParameters) MaximumSSLProtocolVersionInternal ¶
func (n NWParameters) MaximumSSLProtocolVersionInternal() uint64
See: https://developer.apple.com/documentation/Network/NWParameters/maximumSSLProtocolVersionInternal
func (NWParameters) Metadata ¶
func (n NWParameters) Metadata() foundation.INSData
See: https://developer.apple.com/documentation/Network/NWParameters/metadata
func (NWParameters) MinimumSSLProtocolVersion ¶
func (n NWParameters) MinimumSSLProtocolVersion() uint64
See: https://developer.apple.com/documentation/Network/NWParameters/minimumSSLProtocolVersion
func (NWParameters) MinimumSSLProtocolVersionInternal ¶
func (n NWParameters) MinimumSSLProtocolVersionInternal() uint64
See: https://developer.apple.com/documentation/Network/NWParameters/minimumSSLProtocolVersionInternal
func (NWParameters) Multipath ¶
func (n NWParameters) Multipath() bool
See: https://developer.apple.com/documentation/Network/NWParameters/multipath
func (NWParameters) MultipathForceEnable ¶
func (n NWParameters) MultipathForceEnable() bool
See: https://developer.apple.com/documentation/Network/NWParameters/multipathForceEnable
func (NWParameters) MultipathService ¶
func (n NWParameters) MultipathService() int
See: https://developer.apple.com/documentation/Network/NWParameters/multipathService
func (NWParameters) NoProxy ¶
func (n NWParameters) NoProxy() bool
See: https://developer.apple.com/documentation/Network/NWParameters/noProxy
func (NWParameters) ParentID ¶
func (n NWParameters) ParentID() foundation.NSUUID
See: https://developer.apple.com/documentation/Network/NWParameters/parentID
func (NWParameters) ParentIDs ¶
func (n NWParameters) ParentIDs() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWParameters/parentIDs
func (NWParameters) Pid ¶
func (n NWParameters) Pid() int
See: https://developer.apple.com/documentation/Network/NWParameters/pid
func (NWParameters) PreferNetworkAgentWithDomainType ¶
func (n NWParameters) PreferNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/preferNetworkAgentWithDomain:type:
func (NWParameters) PreferNetworkAgentWithUUID ¶
func (n NWParameters) PreferNetworkAgentWithUUID(uuid objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/preferNetworkAgentWithUUID:
func (NWParameters) PreferNoProxy ¶
func (n NWParameters) PreferNoProxy() bool
See: https://developer.apple.com/documentation/Network/NWParameters/preferNoProxy
func (NWParameters) PrivateDescription ¶
func (n NWParameters) PrivateDescription() string
See: https://developer.apple.com/documentation/Network/NWParameters/privateDescription
func (NWParameters) ProcessUUID ¶
func (n NWParameters) ProcessUUID() foundation.NSUUID
See: https://developer.apple.com/documentation/Network/NWParameters/processUUID
func (NWParameters) ProhibitCellular ¶
func (n NWParameters) ProhibitCellular() bool
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitCellular
func (NWParameters) ProhibitConstrainedPaths ¶
func (n NWParameters) ProhibitConstrainedPaths() bool
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitConstrainedPaths
func (NWParameters) ProhibitExpensivePaths ¶
func (n NWParameters) ProhibitExpensivePaths() bool
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitExpensivePaths
func (NWParameters) ProhibitFallback ¶
func (n NWParameters) ProhibitFallback() bool
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitFallback
func (NWParameters) ProhibitInterface ¶
func (n NWParameters) ProhibitInterface(interface_ objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitInterface:
func (NWParameters) ProhibitInterfaceSubtype ¶
func (n NWParameters) ProhibitInterfaceSubtype(subtype int64)
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitInterfaceSubtype:
func (NWParameters) ProhibitInterfaceType ¶
func (n NWParameters) ProhibitInterfaceType(type_ int64)
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitInterfaceType:
func (NWParameters) ProhibitJoiningProtocols ¶
func (n NWParameters) ProhibitJoiningProtocols() bool
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitJoiningProtocols
func (NWParameters) ProhibitNetworkAgentWithUUID ¶
func (n NWParameters) ProhibitNetworkAgentWithUUID(uuid objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitNetworkAgentWithUUID:
func (NWParameters) ProhibitNetworkAgentsWithDomainType ¶
func (n NWParameters) ProhibitNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitNetworkAgentsWithDomain:type:
func (NWParameters) ProhibitRoaming ¶
func (n NWParameters) ProhibitRoaming() bool
See: https://developer.apple.com/documentation/Network/NWParameters/prohibitRoaming
func (NWParameters) ProtocolTransforms ¶
func (n NWParameters) ProtocolTransforms() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWParameters/protocolTransforms
func (NWParameters) ProxyConfiguration ¶
func (n NWParameters) ProxyConfiguration() foundation.INSDictionary
See: https://developer.apple.com/documentation/Network/NWParameters/proxyConfiguration
func (NWParameters) ReduceBuffering ¶
func (n NWParameters) ReduceBuffering() bool
See: https://developer.apple.com/documentation/Network/NWParameters/reduceBuffering
func (NWParameters) RequireNetworkAgentWithDomainType ¶
func (n NWParameters) RequireNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/requireNetworkAgentWithDomain:type:
func (NWParameters) RequireNetworkAgentWithUUID ¶
func (n NWParameters) RequireNetworkAgentWithUUID(uuid objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/requireNetworkAgentWithUUID:
func (NWParameters) RequiredAddressFamily ¶
func (n NWParameters) RequiredAddressFamily() byte
See: https://developer.apple.com/documentation/Network/NWParameters/requiredAddressFamily
func (NWParameters) RequiredCompanionProxyInterfaceType ¶
func (n NWParameters) RequiredCompanionProxyInterfaceType() int64
See: https://developer.apple.com/documentation/Network/NWParameters/requiredCompanionProxyInterfaceType
func (NWParameters) RequiredInterface ¶
func (n NWParameters) RequiredInterface() INWInterface
See: https://developer.apple.com/documentation/Network/NWParameters/requiredInterface
func (NWParameters) RequiredInterfaceSubtype ¶
func (n NWParameters) RequiredInterfaceSubtype() int64
See: https://developer.apple.com/documentation/Network/NWParameters/requiredInterfaceSubtype
func (NWParameters) RequiredInterfaceType ¶
func (n NWParameters) RequiredInterfaceType() int64
See: https://developer.apple.com/documentation/Network/NWParameters/requiredInterfaceType
func (NWParameters) ResolvePTR ¶
func (n NWParameters) ResolvePTR() bool
See: https://developer.apple.com/documentation/Network/NWParameters/resolvePTR
func (NWParameters) ReuseLocalAddress ¶
func (n NWParameters) ReuseLocalAddress() bool
See: https://developer.apple.com/documentation/Network/NWParameters/reuseLocalAddress
func (NWParameters) SSLCipherSuites ¶
func (n NWParameters) SSLCipherSuites() foundation.INSSet
See: https://developer.apple.com/documentation/Network/NWParameters/SSLCipherSuites
func (NWParameters) SSLCipherSuitesInternal ¶
func (n NWParameters) SSLCipherSuitesInternal() foundation.INSSet
See: https://developer.apple.com/documentation/Network/NWParameters/SSLCipherSuitesInternal
func (NWParameters) SanitizedURL ¶
func (n NWParameters) SanitizedURL() foundation.INSURL
See: https://developer.apple.com/documentation/Network/NWParameters/sanitizedURL
func (NWParameters) SetAccount ¶
func (n NWParameters) SetAccount(value string)
func (NWParameters) SetAllowDuplicateStateUpdates ¶
func (n NWParameters) SetAllowDuplicateStateUpdates(value bool)
func (NWParameters) SetAllowJoiningConnectedFd ¶
func (n NWParameters) SetAllowJoiningConnectedFd(value bool)
func (NWParameters) SetAllowSocketAccess ¶
func (n NWParameters) SetAllowSocketAccess(value bool)
func (NWParameters) SetAllowUnusableAddresses ¶
func (n NWParameters) SetAllowUnusableAddresses(value bool)
func (NWParameters) SetAttachProtocolListener ¶
func (n NWParameters) SetAttachProtocolListener(value bool)
func (NWParameters) SetDataMode ¶
func (n NWParameters) SetDataMode(value uint64)
func (NWParameters) SetDisableNagleAlgorithm ¶
func (n NWParameters) SetDisableNagleAlgorithm(value bool)
func (NWParameters) SetDiscretionary ¶
func (n NWParameters) SetDiscretionary(value bool)
func (NWParameters) SetEffectiveBundleID ¶
func (n NWParameters) SetEffectiveBundleID(value string)
func (NWParameters) SetEffectiveProcessUUID ¶
func (n NWParameters) SetEffectiveProcessUUID(value foundation.NSUUID)
func (NWParameters) SetEnableTFO ¶
func (n NWParameters) SetEnableTFO(value bool)
func (NWParameters) SetEnableTFONoCookie ¶
func (n NWParameters) SetEnableTFONoCookie(value bool)
func (NWParameters) SetEnableTLS ¶
func (n NWParameters) SetEnableTLS(value bool)
func (NWParameters) SetFastOpenForceEnable ¶
func (n NWParameters) SetFastOpenForceEnable(value bool)
func (NWParameters) SetHttpsProxyIsOpaque ¶
func (n NWParameters) SetHttpsProxyIsOpaque(value bool)
func (NWParameters) SetHttpsProxyOverTLS ¶
func (n NWParameters) SetHttpsProxyOverTLS(value bool)
func (NWParameters) SetIgnoreResolverStats ¶
func (n NWParameters) SetIgnoreResolverStats(value bool)
func (NWParameters) SetIndefinite ¶
func (n NWParameters) SetIndefinite(value bool)
func (NWParameters) SetInitialDataPayload ¶
func (n NWParameters) SetInitialDataPayload(payload objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/setInitialDataPayload:
func (NWParameters) SetInternalParameters ¶
func (n NWParameters) SetInternalParameters(value objectivec.Object)
func (NWParameters) SetKeepAlive ¶
func (n NWParameters) SetKeepAlive(value bool)
func (NWParameters) SetKeepAliveIdleTime ¶
func (n NWParameters) SetKeepAliveIdleTime(value uint64)
func (NWParameters) SetKeepAliveInterval ¶
func (n NWParameters) SetKeepAliveInterval(value uint64)
func (NWParameters) SetKeepAliveOffload ¶
func (n NWParameters) SetKeepAliveOffload(value bool)
func (NWParameters) SetLocalAddress ¶
func (n NWParameters) SetLocalAddress(value unsafe.Pointer)
func (NWParameters) SetMaximumSSLProtocolVersion ¶
func (n NWParameters) SetMaximumSSLProtocolVersion(value uint64)
func (NWParameters) SetMaximumSSLProtocolVersionInternal ¶
func (n NWParameters) SetMaximumSSLProtocolVersionInternal(value uint64)
func (NWParameters) SetMetadata ¶
func (n NWParameters) SetMetadata(value foundation.INSData)
func (NWParameters) SetMinimumSSLProtocolVersion ¶
func (n NWParameters) SetMinimumSSLProtocolVersion(value uint64)
func (NWParameters) SetMinimumSSLProtocolVersionInternal ¶
func (n NWParameters) SetMinimumSSLProtocolVersionInternal(value uint64)
func (NWParameters) SetMultipath ¶
func (n NWParameters) SetMultipath(value bool)
func (NWParameters) SetMultipathForceEnable ¶
func (n NWParameters) SetMultipathForceEnable(value bool)
func (NWParameters) SetMultipathService ¶
func (n NWParameters) SetMultipathService(value int)
func (NWParameters) SetNoProxy ¶
func (n NWParameters) SetNoProxy(value bool)
func (NWParameters) SetParentID ¶
func (n NWParameters) SetParentID(value foundation.NSUUID)
func (NWParameters) SetPid ¶
func (n NWParameters) SetPid(value int)
func (NWParameters) SetPreferNoProxy ¶
func (n NWParameters) SetPreferNoProxy(value bool)
func (NWParameters) SetProcessUUID ¶
func (n NWParameters) SetProcessUUID(value foundation.NSUUID)
func (NWParameters) SetProhibitConstrainedPaths ¶
func (n NWParameters) SetProhibitConstrainedPaths(value bool)
func (NWParameters) SetProhibitExpensivePaths ¶
func (n NWParameters) SetProhibitExpensivePaths(value bool)
func (NWParameters) SetProhibitFallback ¶
func (n NWParameters) SetProhibitFallback(value bool)
func (NWParameters) SetProhibitJoiningProtocols ¶
func (n NWParameters) SetProhibitJoiningProtocols(value bool)
func (NWParameters) SetProhibitRoaming ¶
func (n NWParameters) SetProhibitRoaming(value bool)
func (NWParameters) SetProtocolTransforms ¶
func (n NWParameters) SetProtocolTransforms(value foundation.INSArray)
func (NWParameters) SetProxyConfiguration ¶
func (n NWParameters) SetProxyConfiguration(value foundation.INSDictionary)
func (NWParameters) SetReduceBuffering ¶
func (n NWParameters) SetReduceBuffering(value bool)
func (NWParameters) SetRequiredAddressFamily ¶
func (n NWParameters) SetRequiredAddressFamily(value byte)
func (NWParameters) SetRequiredCompanionProxyInterfaceType ¶
func (n NWParameters) SetRequiredCompanionProxyInterfaceType(value int64)
func (NWParameters) SetRequiredInterface ¶
func (n NWParameters) SetRequiredInterface(value INWInterface)
func (NWParameters) SetRequiredInterfaceSubtype ¶
func (n NWParameters) SetRequiredInterfaceSubtype(value int64)
func (NWParameters) SetRequiredInterfaceType ¶
func (n NWParameters) SetRequiredInterfaceType(value int64)
func (NWParameters) SetResolvePTR ¶
func (n NWParameters) SetResolvePTR(value bool)
func (NWParameters) SetReuseLocalAddress ¶
func (n NWParameters) SetReuseLocalAddress(value bool)
func (NWParameters) SetSSLCipherSuites ¶
func (n NWParameters) SetSSLCipherSuites(value foundation.INSSet)
func (NWParameters) SetSSLCipherSuitesInternal ¶
func (n NWParameters) SetSSLCipherSuitesInternal(value foundation.INSSet)
func (NWParameters) SetSourceApplicationWithBundleID ¶
func (n NWParameters) SetSourceApplicationWithBundleID(id objectivec.IObject)
See: https://developer.apple.com/documentation/Network/NWParameters/setSourceApplicationWithBundleID:
func (NWParameters) SetTLSSessionID ¶
func (n NWParameters) SetTLSSessionID(value foundation.INSData)
func (NWParameters) SetTrafficClass ¶
func (n NWParameters) SetTrafficClass(value uint64)
func (NWParameters) SetTrustInvalidCertificates ¶
func (n NWParameters) SetTrustInvalidCertificates(value bool)
func (NWParameters) SetUid ¶
func (n NWParameters) SetUid(value uint32)
func (NWParameters) SetUrl ¶
func (n NWParameters) SetUrl(value foundation.INSURL)
func (NWParameters) SetUseAWDL ¶
func (n NWParameters) SetUseAWDL(value bool)
func (NWParameters) SetUseLongOutstandingQueries ¶
func (n NWParameters) SetUseLongOutstandingQueries(value bool)
func (NWParameters) SetUseP2P ¶
func (n NWParameters) SetUseP2P(value bool)
func (NWParameters) TLSSessionID ¶
func (n NWParameters) TLSSessionID() foundation.INSData
See: https://developer.apple.com/documentation/Network/NWParameters/TLSSessionID
func (NWParameters) TlsVersionWithSSLProtocol ¶
func (n NWParameters) TlsVersionWithSSLProtocol(sSLProtocol int) uint16
See: https://developer.apple.com/documentation/Network/NWParameters/tlsVersionWithSSLProtocol:
func (NWParameters) TrafficClass ¶
func (n NWParameters) TrafficClass() uint64
See: https://developer.apple.com/documentation/Network/NWParameters/trafficClass
func (NWParameters) TransportProtocol ¶
func (n NWParameters) TransportProtocol() byte
See: https://developer.apple.com/documentation/Network/NWParameters/transportProtocol
func (NWParameters) TrustInvalidCertificates ¶
func (n NWParameters) TrustInvalidCertificates() bool
See: https://developer.apple.com/documentation/Network/NWParameters/trustInvalidCertificates
func (NWParameters) Uid ¶
func (n NWParameters) Uid() uint32
See: https://developer.apple.com/documentation/Network/NWParameters/uid
func (NWParameters) Url ¶
func (n NWParameters) Url() foundation.INSURL
See: https://developer.apple.com/documentation/Network/NWParameters/url
func (NWParameters) UseAWDL ¶
func (n NWParameters) UseAWDL() bool
See: https://developer.apple.com/documentation/Network/NWParameters/useAWDL
func (NWParameters) UseLongOutstandingQueries ¶
func (n NWParameters) UseLongOutstandingQueries() bool
See: https://developer.apple.com/documentation/Network/NWParameters/useLongOutstandingQueries
func (NWParameters) UseP2P ¶
func (n NWParameters) UseP2P() bool
See: https://developer.apple.com/documentation/Network/NWParameters/useP2P
func (NWParameters) Valid ¶
func (n NWParameters) Valid() bool
See: https://developer.apple.com/documentation/Network/NWParameters/valid
type NWParametersClass ¶
type NWParametersClass struct {
// contains filtered or unexported fields
}
func GetNWParametersClass ¶
func GetNWParametersClass() NWParametersClass
GetNWParametersClass returns the class object for NWParameters.
func (NWParametersClass) Alloc ¶
func (nc NWParametersClass) Alloc() NWParameters
Alloc allocates memory for a new instance of the class.
func (NWParametersClass) Class ¶
func (nc NWParametersClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (NWParametersClass) ParametersWithCParameters ¶
func (_NWParametersClass NWParametersClass) ParametersWithCParameters(cParameters objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWParameters/parametersWithCParameters:
func (NWParametersClass) ParametersWithProtocolBufferData ¶
func (_NWParametersClass NWParametersClass) ParametersWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWParameters/parametersWithProtocolBufferData:
func (NWParametersClass) SupportsSecureCoding ¶
func (_NWParametersClass NWParametersClass) SupportsSecureCoding() bool
See: https://developer.apple.com/documentation/Network/NWParameters/supportsSecureCoding
type NWParametersConfigureProtocolBlock ¶
type NWParametersConfigureProtocolBlock = publicapi.NWParametersConfigureProtocolBlock
type NWPath ¶
type NWPath struct {
objectivec.Object
}
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.IsConstrained
- NWPath.IsDirect
- NWPath.IsEligibleForCrazyIvan46
- NWPath.IsEqualToPath
- NWPath.IsExpensive
- NWPath.IsFiltered
- NWPath.IsFlowDivert
- NWPath.IsLinkQualityAbort
- NWPath.IsListener
- NWPath.IsListenerInterfaceSpecific
- NWPath.IsLocal
- NWPath.IsPerAppVPN
- NWPath.IsRoaming
- NWPath.IsUltraConstrained
- NWPath.IsViable
- 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.Constrained
- NWPath.Direct
- NWPath.EligibleForCrazyIvan46
- NWPath.Expensive
- NWPath.Filtered
- NWPath.FlowDivert
- NWPath.Listener
- NWPath.Local
- NWPath.PerAppVPN
- NWPath.Roaming
- NWPath.Viable
See: https://developer.apple.com/documentation/Network/NWPath
func NWPathFromID ¶
NWPathFromID constructs a NWPath from an objc.ID.
func NewNWPathWithPath ¶
func NewNWPathWithPath(path objectivec.IObject) NWPath
See: https://developer.apple.com/documentation/Network/NWPath/initWithPath:
func (NWPath) AdvertiseDescriptor ¶
func (n NWPath) AdvertiseDescriptor() INWAdvertiseDescriptor
See: https://developer.apple.com/documentation/Network/NWPath/advertiseDescriptor
func (NWPath) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (NWPath) BrowseDescriptor ¶
func (n NWPath) BrowseDescriptor() INWBrowseDescriptor
See: https://developer.apple.com/documentation/Network/NWPath/browseDescriptor
func (NWPath) CPath ¶
func (n NWPath) CPath() objectivec.Object
See: https://developer.apple.com/documentation/Network/NWPath/cPath
func (NWPath) ClientID ¶
func (n NWPath) ClientID() foundation.NSUUID
See: https://developer.apple.com/documentation/Network/NWPath/clientID
func (NWPath) ConnectedInterface ¶
func (n NWPath) ConnectedInterface() INWInterface
See: https://developer.apple.com/documentation/Network/NWPath/connectedInterface
func (NWPath) Constrained ¶
See: https://developer.apple.com/documentation/Network/NWPath/constrained
func (NWPath) CopyDNSSearchDomains ¶
func (n NWPath) CopyDNSSearchDomains(domains bool) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/copyDNSSearchDomains:
func (NWPath) CopyDNSServerEndpoints ¶
func (n NWPath) CopyDNSServerEndpoints(endpoints bool) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/copyDNSServerEndpoints:
func (NWPath) CopyDNSServersStrings ¶
func (n NWPath) CopyDNSServersStrings(strings objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/copyDNSServersStrings:
func (NWPath) CopyDataFromNetworkAgentWithDomainType ¶
func (n NWPath) CopyDataFromNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/copyDataFromNetworkAgentWithDomain:type:
func (NWPath) CopyFlowDivertToken ¶
func (n NWPath) CopyFlowDivertToken() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/copyFlowDivertToken
func (NWPath) CreateProtocolBufferObject ¶
func (n NWPath) CreateProtocolBufferObject() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/createProtocolBufferObject
func (NWPath) DelegateInterface ¶
func (n NWPath) DelegateInterface() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/delegateInterface
func (NWPath) DerivedParameters ¶
func (n NWPath) DerivedParameters() INWParameters
See: https://developer.apple.com/documentation/Network/NWPath/derivedParameters
func (NWPath) DescriptionWithIndentShowFullContent ¶
func (n NWPath) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/descriptionWithIndent:showFullContent:
func (NWPath) Direct ¶
See: https://developer.apple.com/documentation/Network/NWPath/direct
func (NWPath) DnsSearchDomains ¶
func (n NWPath) DnsSearchDomains() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/dnsSearchDomains
func (NWPath) DnsServers ¶
func (n NWPath) DnsServers() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/dnsServers
func (NWPath) DnsServersAsStrings ¶
func (n NWPath) DnsServersAsStrings() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/dnsServersAsStrings
func (NWPath) DnsServiceID ¶
See: https://developer.apple.com/documentation/Network/NWPath/dnsServiceID
func (NWPath) EffectiveLocalEndpoint ¶
func (n NWPath) EffectiveLocalEndpoint() INWEndpoint
See: https://developer.apple.com/documentation/Network/NWPath/effectiveLocalEndpoint
func (NWPath) EffectiveRemoteEndpoint ¶
func (n NWPath) EffectiveRemoteEndpoint() INWEndpoint
See: https://developer.apple.com/documentation/Network/NWPath/effectiveRemoteEndpoint
func (NWPath) EligibleForCrazyIvan46 ¶
See: https://developer.apple.com/documentation/Network/NWPath/eligibleForCrazyIvan46
func (NWPath) Endpoint ¶
func (n NWPath) Endpoint() INWEndpoint
See: https://developer.apple.com/documentation/Network/NWPath/endpoint
func (NWPath) Expensive ¶
See: https://developer.apple.com/documentation/Network/NWPath/expensive
func (NWPath) FallbackEligible ¶
See: https://developer.apple.com/documentation/Network/NWPath/fallbackEligible
func (NWPath) FallbackInterface ¶
func (n NWPath) FallbackInterface() INWInterface
See: https://developer.apple.com/documentation/Network/NWPath/fallbackInterface
func (NWPath) FallbackInterfaceIndex ¶
See: https://developer.apple.com/documentation/Network/NWPath/fallbackInterfaceIndex
func (NWPath) FallbackIsPreferred ¶
See: https://developer.apple.com/documentation/Network/NWPath/fallbackIsPreferred
func (NWPath) FallbackIsWeak ¶
See: https://developer.apple.com/documentation/Network/NWPath/fallbackIsWeak
func (NWPath) FilterControlUnit ¶
See: https://developer.apple.com/documentation/Network/NWPath/filterControlUnit
func (NWPath) Filtered ¶
See: https://developer.apple.com/documentation/Network/NWPath/filtered
func (NWPath) FlowDivert ¶
See: https://developer.apple.com/documentation/Network/NWPath/flowDivert
func (NWPath) FlowDivertAggregateUnit ¶
See: https://developer.apple.com/documentation/Network/NWPath/flowDivertAggregateUnit
func (NWPath) FlowDivertControlUnit ¶
See: https://developer.apple.com/documentation/Network/NWPath/flowDivertControlUnit
func (NWPath) Flows ¶
func (n NWPath) Flows() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/flows
func (NWPath) Gateways ¶
func (n NWPath) Gateways() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/gateways
func (NWPath) GenericNetworkAgentsWithDomainType ¶
func (n NWPath) GenericNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/genericNetworkAgentsWithDomain:type:
func (NWPath) GroupMembers ¶
func (n NWPath) GroupMembers() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/groupMembers
func (NWPath) HasAdvertiseDescriptor ¶
See: https://developer.apple.com/documentation/Network/NWPath/hasAdvertiseDescriptor
func (NWPath) HasApplicationLevelFirewall ¶
See: https://developer.apple.com/documentation/Network/NWPath/hasApplicationLevelFirewall
func (NWPath) HasBrowseDescriptor ¶
See: https://developer.apple.com/documentation/Network/NWPath/hasBrowseDescriptor
func (NWPath) HasCustomPFRules ¶
See: https://developer.apple.com/documentation/Network/NWPath/hasCustomPFRules
func (NWPath) HasKernelExtensionFilter ¶
See: https://developer.apple.com/documentation/Network/NWPath/hasKernelExtensionFilter
func (NWPath) HasParentalControls ¶
See: https://developer.apple.com/documentation/Network/NWPath/hasParentalControls
func (NWPath) HasProxySettings ¶
See: https://developer.apple.com/documentation/Network/NWPath/hasProxySettings
func (NWPath) HasUnsatisfiedFallbackAgent ¶
See: https://developer.apple.com/documentation/Network/NWPath/hasUnsatisfiedFallbackAgent
func (NWPath) InactiveNetworkAgentUUIDsOnlyVoluntary ¶
func (n NWPath) InactiveNetworkAgentUUIDsOnlyVoluntary(voluntary bool) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/inactiveNetworkAgentUUIDsOnlyVoluntary:
func (NWPath) InitWithPath ¶
func (n NWPath) InitWithPath(path objectivec.IObject) NWPath
See: https://developer.apple.com/documentation/Network/NWPath/initWithPath:
func (NWPath) Interface ¶
func (n NWPath) Interface() INWInterface
See: https://developer.apple.com/documentation/Network/NWPath/interface
func (NWPath) InternalPath ¶
func (n NWPath) InternalPath() objectivec.Object
See: https://developer.apple.com/documentation/Network/NWPath/internalPath
func (NWPath) IsConstrained ¶
See: https://developer.apple.com/documentation/Network/NWPath/isConstrained
func (NWPath) IsDirect ¶
See: https://developer.apple.com/documentation/Network/NWPath/isDirect
func (NWPath) IsEligibleForCrazyIvan46 ¶
See: https://developer.apple.com/documentation/Network/NWPath/isEligibleForCrazyIvan46
func (NWPath) IsEqualToPath ¶
func (n NWPath) IsEqualToPath(path objectivec.IObject) bool
See: https://developer.apple.com/documentation/Network/NWPath/isEqualToPath:
func (NWPath) IsExpensive ¶
See: https://developer.apple.com/documentation/Network/NWPath/isExpensive
func (NWPath) IsFiltered ¶
See: https://developer.apple.com/documentation/Network/NWPath/isFiltered
func (NWPath) IsFlowDivert ¶
See: https://developer.apple.com/documentation/Network/NWPath/isFlowDivert
func (NWPath) IsLinkQualityAbort ¶
See: https://developer.apple.com/documentation/Network/NWPath/isLinkQualityAbort
func (NWPath) IsListener ¶
See: https://developer.apple.com/documentation/Network/NWPath/isListener
func (NWPath) IsListenerInterfaceSpecific ¶
See: https://developer.apple.com/documentation/Network/NWPath/isListenerInterfaceSpecific
func (NWPath) IsLocal ¶
See: https://developer.apple.com/documentation/Network/NWPath/isLocal
func (NWPath) IsPerAppVPN ¶
See: https://developer.apple.com/documentation/Network/NWPath/isPerAppVPN
func (NWPath) IsRoaming ¶
See: https://developer.apple.com/documentation/Network/NWPath/isRoaming
func (NWPath) IsUltraConstrained ¶
See: https://developer.apple.com/documentation/Network/NWPath/isUltraConstrained
func (NWPath) IsViable ¶
See: https://developer.apple.com/documentation/Network/NWPath/isViable
func (NWPath) Listener ¶
See: https://developer.apple.com/documentation/Network/NWPath/listener
func (NWPath) Local ¶
See: https://developer.apple.com/documentation/Network/NWPath/local
func (NWPath) MaximumDatagramSize ¶
See: https://developer.apple.com/documentation/Network/NWPath/maximumDatagramSize
func (NWPath) Mtu ¶
See: https://developer.apple.com/documentation/Network/NWPath/mtu
func (NWPath) NetworkAgentsOfType ¶
func (n NWPath) NetworkAgentsOfType(type_ objc.Class) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/networkAgentsOfType:
func (NWPath) OverrideDNSSearchDomains ¶
func (n NWPath) OverrideDNSSearchDomains() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/overrideDNSSearchDomains
func (NWPath) OverrideDNSServers ¶
func (n NWPath) OverrideDNSServers() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/overrideDNSServers
func (NWPath) OverrideDNSServersAsStrings ¶
func (n NWPath) OverrideDNSServersAsStrings() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/overrideDNSServersAsStrings
func (NWPath) Parameters ¶
func (n NWPath) Parameters() INWParameters
See: https://developer.apple.com/documentation/Network/NWPath/parameters
func (NWPath) PerAppVPN ¶
See: https://developer.apple.com/documentation/Network/NWPath/perAppVPN
func (NWPath) PolicyID ¶
See: https://developer.apple.com/documentation/Network/NWPath/policyID
func (NWPath) PrivateDescription ¶
See: https://developer.apple.com/documentation/Network/NWPath/privateDescription
func (NWPath) ProxySettings ¶
func (n NWPath) ProxySettings() foundation.INSArray
See: https://developer.apple.com/documentation/Network/NWPath/proxySettings
func (NWPath) Reason ¶
See: https://developer.apple.com/documentation/Network/NWPath/reason
func (NWPath) ReasonDescription ¶
See: https://developer.apple.com/documentation/Network/NWPath/reasonDescription
func (NWPath) Roaming ¶
See: https://developer.apple.com/documentation/Network/NWPath/roaming
func (NWPath) ScopedInterface ¶
func (n NWPath) ScopedInterface() INWInterface
See: https://developer.apple.com/documentation/Network/NWPath/scopedInterface
func (NWPath) SecondsSinceInterfaceChange ¶
See: https://developer.apple.com/documentation/Network/NWPath/secondsSinceInterfaceChange
func (NWPath) ShouldProbeConnectivity ¶
See: https://developer.apple.com/documentation/Network/NWPath/shouldProbeConnectivity
func (NWPath) Status ¶
See: https://developer.apple.com/documentation/Network/NWPath/status
func (NWPath) StatusAsString ¶
See: https://developer.apple.com/documentation/Network/NWPath/statusAsString
func (NWPath) SupportsDNS ¶
See: https://developer.apple.com/documentation/Network/NWPath/supportsDNS
func (NWPath) SupportsIPv4 ¶
See: https://developer.apple.com/documentation/Network/NWPath/supportsIPv4
func (NWPath) SupportsIPv6 ¶
See: https://developer.apple.com/documentation/Network/NWPath/supportsIPv6
func (NWPath) UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately ¶
func (n NWPath) UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately(address objectivec.IObject) (bool, bool)
func (NWPath) UsesCompanion ¶
See: https://developer.apple.com/documentation/Network/NWPath/usesCompanion
func (NWPath) UsesInterfaceType ¶
See: https://developer.apple.com/documentation/Network/NWPath/usesInterfaceType:
func (NWPath) UsesNetworkAgent ¶
func (n NWPath) UsesNetworkAgent(agent objectivec.IObject) bool
See: https://developer.apple.com/documentation/Network/NWPath/usesNetworkAgent:
func (NWPath) UsesNetworkAgentType ¶
See: https://developer.apple.com/documentation/Network/NWPath/usesNetworkAgentType:
func (NWPath) Viable ¶
See: https://developer.apple.com/documentation/Network/NWPath/viable
type NWPathClass ¶
type NWPathClass struct {
// contains filtered or unexported fields
}
func GetNWPathClass ¶
func GetNWPathClass() NWPathClass
GetNWPathClass returns the class object for NWPath.
func (NWPathClass) AllClientIDs ¶
func (_NWPathClass NWPathClass) AllClientIDs() objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/allClientIDs
func (NWPathClass) Alloc ¶
func (nc NWPathClass) Alloc() NWPath
Alloc allocates memory for a new instance of the class.
func (NWPathClass) Class ¶
func (nc NWPathClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (NWPathClass) CreateStringFromStatus ¶
func (_NWPathClass NWPathClass) CreateStringFromStatus(status int64) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/createStringFromStatus:
func (NWPathClass) PathForClientID ¶
func (_NWPathClass NWPathClass) PathForClientID(id objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/pathForClientID:
func (NWPathClass) PathForClientIDParametersTLVPathResultTLV ¶
func (_NWPathClass NWPathClass) PathForClientIDParametersTLVPathResultTLV(id objectivec.IObject, tlv objectivec.IObject, tlv2 objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/pathForClientID:parametersTLV:pathResultTLV:
func (NWPathClass) PathWithProtocolBufferData ¶
func (_NWPathClass NWPathClass) PathWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
See: https://developer.apple.com/documentation/Network/NWPath/pathWithProtocolBufferData:
type NWPrettyDescription ¶
type NWPrettyDescription interface {
objectivec.IObject
}
NWPrettyDescription protocol.
See: https://developer.apple.com/documentation/Network/NWPrettyDescription
type NWPrettyDescriptionObject ¶
type NWPrettyDescriptionObject struct {
objectivec.Object
}
NWPrettyDescriptionObject wraps an existing Objective-C object that conforms to the NWPrettyDescription protocol.
func NWPrettyDescriptionObjectFromID ¶
func NWPrettyDescriptionObjectFromID(id objc.ID) NWPrettyDescriptionObject
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
func (NWPrettyDescriptionObject) DescriptionWithIndentShowFullContent ¶
func (o NWPrettyDescriptionObject) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
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