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.NSData)
- func (n NWAdvertiseDescriptor) TxtRecord() foundation.NSData
- type NWAdvertiseDescriptorClass
- type NWBrowseDescriptor
- func (n NWBrowseDescriptor) Autorelease() NWBrowseDescriptor
- func (n NWBrowseDescriptor) BonjourServiceDomain() string
- func (n NWBrowseDescriptor) BonjourServiceType() string
- func (n NWBrowseDescriptor) Browse(ctx context.Context) error
- func (n NWBrowseDescriptor) BrowseWithCompletionHandler(handler ErrorHandler)
- func (n NWBrowseDescriptor) CreateProtocolBufferObject() objectivec.IObject
- func (n NWBrowseDescriptor) DescriptionWithIndentShowFullContent(indent 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) objectivec.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.NSError
- 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.NSError
- func (n NWConnection) InternalHasBetterPath() bool
- func (n NWConnection) InternalIsViable() bool
- func (n NWConnection) InternalPath() INWPath
- func (n NWConnection) IsViable() bool
- func (n NWConnection) Parameters() INWParameters
- func (n NWConnection) SetInternalConnection(value unsafe.Pointer)
- func (n NWConnection) SetInternalConnectionState(value int64)
- func (n NWConnection) SetInternalError(value foundation.NSError)
- func (n NWConnection) SetInternalHasBetterPath(value bool)
- func (n NWConnection) SetInternalIsViable(value bool)
- func (n NWConnection) SetInternalPath(value INWPath)
- func (n NWConnection) Start()
- func (n NWConnection) TlsConnectionTime() uint32
- 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.NSData)
- func (n NWEndpoint) TxtRecord() foundation.NSData
- type NWEndpointClass
- func (nc NWEndpointClass) Alloc() NWEndpoint
- func (nc NWEndpointClass) Class() objc.Class
- func (_NWEndpointClass NWEndpointClass) CopyClassForEndpointType(type_ int) objectivec.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.NSData
- func (n NWParameters) MinimumSSLProtocolVersion() uint64
- func (n NWParameters) MinimumSSLProtocolVersionInternal() uint64
- func (n NWParameters) Multipath() bool
- func (n NWParameters) MultipathForceEnable() bool
- func (n NWParameters) MultipathService() 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.NSURL
- func (n NWParameters) SetAccount(value string)
- func (n NWParameters) SetAllowDuplicateStateUpdates(value bool)
- func (n NWParameters) SetAllowJoiningConnectedFd(value bool)
- func (n NWParameters) SetAllowSocketAccess(value bool)
- func (n NWParameters) SetAllowUnusableAddresses(value bool)
- func (n NWParameters) SetAttachProtocolListener(value bool)
- func (n NWParameters) SetDataMode(value uint64)
- func (n NWParameters) SetDisableNagleAlgorithm(value bool)
- func (n NWParameters) SetDiscretionary(value bool)
- func (n NWParameters) SetEffectiveBundleID(value string)
- func (n NWParameters) SetEffectiveProcessUUID(value foundation.NSUUID)
- func (n NWParameters) SetEnableTFO(value bool)
- func (n NWParameters) SetEnableTFONoCookie(value bool)
- func (n NWParameters) SetEnableTLS(value bool)
- func (n NWParameters) SetFastOpenForceEnable(value bool)
- func (n NWParameters) SetHttpsProxyIsOpaque(value bool)
- func (n NWParameters) SetHttpsProxyOverTLS(value bool)
- func (n NWParameters) SetIgnoreResolverStats(value bool)
- func (n NWParameters) SetIndefinite(value bool)
- func (n NWParameters) SetInitialDataPayload(payload objectivec.IObject)
- func (n NWParameters) SetInternalParameters(value objectivec.Object)
- func (n NWParameters) SetKeepAlive(value bool)
- func (n NWParameters) SetKeepAliveIdleTime(value uint64)
- func (n NWParameters) SetKeepAliveInterval(value uint64)
- func (n NWParameters) SetKeepAliveOffload(value bool)
- func (n NWParameters) SetLocalAddress(value unsafe.Pointer)
- func (n NWParameters) SetMaximumSSLProtocolVersion(value uint64)
- func (n NWParameters) SetMaximumSSLProtocolVersionInternal(value uint64)
- func (n NWParameters) SetMetadata(value foundation.NSData)
- func (n NWParameters) SetMinimumSSLProtocolVersion(value uint64)
- func (n NWParameters) SetMinimumSSLProtocolVersionInternal(value uint64)
- func (n NWParameters) SetMultipath(value bool)
- func (n NWParameters) SetMultipathForceEnable(value bool)
- func (n NWParameters) SetMultipathService(value 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.NSData)
- func (n NWParameters) SetTrafficClass(value uint64)
- func (n NWParameters) SetTrustInvalidCertificates(value bool)
- func (n NWParameters) SetUid(value uint32)
- func (n NWParameters) SetUrl(value foundation.NSURL)
- func (n NWParameters) SetUseAWDL(value bool)
- func (n NWParameters) SetUseLongOutstandingQueries(value bool)
- func (n NWParameters) SetUseP2P(value bool)
- func (n NWParameters) TLSSessionID() foundation.NSData
- func (n NWParameters) TlsVersionWithSSLProtocol(sSLProtocol 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.NSURL
- 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_ objectivec.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_ objectivec.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.NSData
SetTxtRecord(value foundation.NSData)
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]
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]
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]
type INWConnection ¶
type INWConnection interface {
objectivec.IObject
Cancel()
CancelCurrentEndpoint()
ConnectedLocalEndpoint() INWEndpoint
ConnectedRemoteEndpoint() INWEndpoint
ConnectionState() int64
CopyCurrentPath() objectivec.IObject
CopyError() objectivec.IObject
CurrentPath() INWPath
Endpoint() INWEndpoint
Error() foundation.NSError
ForceCancel()
GetConnectedSocket() int
HasBetterPath() bool
InternalConnection() unsafe.Pointer
SetInternalConnection(value unsafe.Pointer)
InternalConnectionState() int64
SetInternalConnectionState(value int64)
InternalError() foundation.NSError
SetInternalError(value foundation.NSError)
InternalHasBetterPath() bool
SetInternalHasBetterPath(value bool)
InternalIsViable() bool
SetInternalIsViable(value bool)
InternalPath() INWPath
SetInternalPath(value INWPath)
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]
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.NSData
SetTxtRecord(value foundation.NSData)
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]
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]
type INWParameters ¶
type INWParameters interface {
objectivec.IObject
SSLCipherSuites() foundation.INSSet
SetSSLCipherSuites(value foundation.INSSet)
SSLCipherSuitesInternal() foundation.INSSet
SetSSLCipherSuitesInternal(value foundation.INSSet)
TLSSessionID() foundation.NSData
SetTLSSessionID(value foundation.NSData)
Account() string
SetAccount(value string)
AllowDuplicateStateUpdates() bool
SetAllowDuplicateStateUpdates(value bool)
AllowJoiningConnectedFd() bool
SetAllowJoiningConnectedFd(value bool)
AllowSocketAccess() bool
SetAllowSocketAccess(value bool)
AllowUnusableAddresses() bool
SetAllowUnusableAddresses(value bool)
AttachProtocolListener() bool
SetAttachProtocolListener(value bool)
AvoidNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
AvoidNetworkAgentWithUUID(uuid objectivec.IObject)
CopyCParameters() objectivec.IObject
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.NSData
SetMetadata(value foundation.NSData)
MinimumSSLProtocolVersion() uint64
SetMinimumSSLProtocolVersion(value uint64)
MinimumSSLProtocolVersionInternal() uint64
SetMinimumSSLProtocolVersionInternal(value uint64)
Multipath() bool
SetMultipath(value bool)
MultipathForceEnable() bool
SetMultipathForceEnable(value bool)
MultipathService() 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.NSURL
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.NSURL
SetUrl(value foundation.NSURL)
UseAWDL() bool
SetUseAWDL(value bool)
UseLongOutstandingQueries() bool
SetUseLongOutstandingQueries(value bool)
UseP2P() bool
SetUseP2P(value bool)
InitWithCoder(coder foundation.INSCoder) NWParameters
InitWithParameters(parameters objectivec.IObject) NWParameters
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]
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_ objectivec.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_ objectivec.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]
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.
SupportsSecureCoding() bool
}
NSSecureCoding protocol.
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
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
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
func NewNWAdvertiseDescriptorWithNameTypeDomain ¶
func NewNWAdvertiseDescriptorWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
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
func (NWAdvertiseDescriptor) BonjourServiceName ¶
func (n NWAdvertiseDescriptor) BonjourServiceName() string
func (NWAdvertiseDescriptor) BonjourServiceType ¶
func (n NWAdvertiseDescriptor) BonjourServiceType() string
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
func (NWAdvertiseDescriptor) InitWithNameTypeDomain ¶
func (n NWAdvertiseDescriptor) InitWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor
func (NWAdvertiseDescriptor) InternalDescriptor ¶
func (n NWAdvertiseDescriptor) InternalDescriptor() objectivec.Object
func (NWAdvertiseDescriptor) PrivateDescription ¶
func (n NWAdvertiseDescriptor) PrivateDescription() objectivec.IObject
func (NWAdvertiseDescriptor) SetInternalDescriptor ¶
func (n NWAdvertiseDescriptor) SetInternalDescriptor(value objectivec.Object)
func (NWAdvertiseDescriptor) SetTxtRecord ¶
func (n NWAdvertiseDescriptor) SetTxtRecord(value foundation.NSData)
func (NWAdvertiseDescriptor) TxtRecord ¶
func (n NWAdvertiseDescriptor) TxtRecord() foundation.NSData
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
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
func NewNWBrowseDescriptorWithEncodedData ¶
func NewNWBrowseDescriptorWithEncodedData(data objectivec.IObject) NWBrowseDescriptor
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
func (NWBrowseDescriptor) BonjourServiceType ¶
func (n NWBrowseDescriptor) BonjourServiceType() string
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)
func (NWBrowseDescriptor) CreateProtocolBufferObject ¶
func (n NWBrowseDescriptor) CreateProtocolBufferObject() objectivec.IObject
func (NWBrowseDescriptor) DescriptionWithIndentShowFullContent ¶
func (n NWBrowseDescriptor) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
func (NWBrowseDescriptor) EncodedData ¶
func (n NWBrowseDescriptor) EncodedData() objectivec.IObject
func (NWBrowseDescriptor) Init ¶
func (n NWBrowseDescriptor) Init() NWBrowseDescriptor
Init initializes the instance.
func (NWBrowseDescriptor) InitWithDescriptor ¶
func (n NWBrowseDescriptor) InitWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor
func (NWBrowseDescriptor) InitWithEncodedData ¶
func (n NWBrowseDescriptor) InitWithEncodedData(data objectivec.IObject) NWBrowseDescriptor
func (NWBrowseDescriptor) InternalDescriptor ¶
func (n NWBrowseDescriptor) InternalDescriptor() objectivec.Object
func (NWBrowseDescriptor) PrivateDescription ¶
func (n NWBrowseDescriptor) PrivateDescription() string
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) objectivec.Class
func (NWBrowseDescriptorClass) DescriptorType ¶
func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorType() uint32
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
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
func NWBrowserFromID ¶
NWBrowserFromID constructs a NWBrowser from an objc.ID.
func NewNWBrowserWithDescriptorParameters ¶
func NewNWBrowserWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser
func (NWBrowser) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (NWBrowser) CopyDiscoveredEndpoints ¶
func (n NWBrowser) CopyDiscoveredEndpoints() objectivec.IObject
func (NWBrowser) Descriptor ¶
func (n NWBrowser) Descriptor() INWBrowseDescriptor
func (NWBrowser) DiscoveredEndpoints ¶
func (n NWBrowser) DiscoveredEndpoints() foundation.INSSet
func (NWBrowser) InitWithDescriptorParameters ¶
func (n NWBrowser) InitWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser
func (NWBrowser) InternalBrowser ¶
func (n NWBrowser) InternalBrowser() objectivec.Object
func (NWBrowser) InternalDiscoveredEndpoints ¶
func (n NWBrowser) InternalDiscoveredEndpoints() foundation.INSSet
func (NWBrowser) Parameters ¶
func (n NWBrowser) Parameters() INWParameters
func (NWBrowser) SetInternalDiscoveredEndpoints ¶
func (n NWBrowser) SetInternalDiscoveredEndpoints(value foundation.INSSet)
func (NWBrowser) SetUpdateHandler ¶
func (n 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
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
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
func NewNWConnectionWithEndpointParameters ¶
func NewNWConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
func NewNWConnectionWithInternalConnection ¶
func NewNWConnectionWithInternalConnection(connection objectivec.IObject) NWConnection
func (NWConnection) Autorelease ¶
func (n NWConnection) Autorelease() NWConnection
Autorelease adds the receiver to the current autorelease pool.
func (NWConnection) Cancel ¶
func (n NWConnection) Cancel()
func (NWConnection) CancelCurrentEndpoint ¶
func (n NWConnection) CancelCurrentEndpoint()
func (NWConnection) ConnectedLocalEndpoint ¶
func (n NWConnection) ConnectedLocalEndpoint() INWEndpoint
func (NWConnection) ConnectedRemoteEndpoint ¶
func (n NWConnection) ConnectedRemoteEndpoint() INWEndpoint
func (NWConnection) ConnectionState ¶
func (n NWConnection) ConnectionState() int64
func (NWConnection) CopyCurrentPath ¶
func (n NWConnection) CopyCurrentPath() objectivec.IObject
func (NWConnection) CopyError ¶
func (n NWConnection) CopyError() objectivec.IObject
func (NWConnection) CurrentPath ¶
func (n NWConnection) CurrentPath() INWPath
func (NWConnection) Endpoint ¶
func (n NWConnection) Endpoint() INWEndpoint
func (NWConnection) Error ¶
func (n NWConnection) Error() foundation.NSError
func (NWConnection) ForceCancel ¶
func (n NWConnection) ForceCancel()
func (NWConnection) GetConnectedSocket ¶
func (n NWConnection) GetConnectedSocket() int
func (NWConnection) HasBetterPath ¶
func (n NWConnection) HasBetterPath() bool
func (NWConnection) InitWithConnectedSocket ¶
func (n NWConnection) InitWithConnectedSocket(socket int) NWConnection
func (NWConnection) InitWithEndpointParameters ¶
func (n NWConnection) InitWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
func (NWConnection) InitWithInternalConnection ¶
func (n NWConnection) InitWithInternalConnection(connection objectivec.IObject) NWConnection
func (NWConnection) InternalConnection ¶
func (n NWConnection) InternalConnection() unsafe.Pointer
func (NWConnection) InternalConnectionState ¶
func (n NWConnection) InternalConnectionState() int64
func (NWConnection) InternalError ¶
func (n NWConnection) InternalError() foundation.NSError
func (NWConnection) InternalHasBetterPath ¶
func (n NWConnection) InternalHasBetterPath() bool
func (NWConnection) InternalIsViable ¶
func (n NWConnection) InternalIsViable() bool
func (NWConnection) InternalPath ¶
func (n NWConnection) InternalPath() INWPath
func (NWConnection) IsViable ¶
func (n NWConnection) IsViable() bool
func (NWConnection) Parameters ¶
func (n NWConnection) Parameters() INWParameters
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.NSError)
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()
func (NWConnection) TlsConnectionTime ¶
func (n NWConnection) TlsConnectionTime() uint32
func (NWConnection) Viable ¶
func (n NWConnection) Viable() bool
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
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
func (NWConnectionClass) ConnectionWithEndpointParameters ¶
func (_NWConnectionClass NWConnectionClass) ConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) objectivec.IObject
func (NWConnectionClass) ConnectionWithInternalConnection ¶
func (_NWConnectionClass NWConnectionClass) ConnectionWithInternalConnection(connection objectivec.IObject) objectivec.IObject
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
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
func NewNWEndpointWithEndpoint ¶
func NewNWEndpointWithEndpoint(endpoint objectivec.IObject) NWEndpoint
func (NWEndpoint) AlternatePort ¶
func (n NWEndpoint) AlternatePort() uint16
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
func (NWEndpoint) CreateProtocolBufferObject ¶
func (n NWEndpoint) CreateProtocolBufferObject() objectivec.IObject
func (NWEndpoint) DescriptionWithIndentShowFullContent ¶
func (n NWEndpoint) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
func (NWEndpoint) EncodeWithCoder ¶
func (n NWEndpoint) EncodeWithCoder(coder foundation.INSCoder)
func (NWEndpoint) EncodedData ¶
func (n NWEndpoint) EncodedData() objectivec.IObject
func (NWEndpoint) InitWithCoder ¶
func (n NWEndpoint) InitWithCoder(coder foundation.INSCoder) NWEndpoint
func (NWEndpoint) InitWithEndpoint ¶
func (n NWEndpoint) InitWithEndpoint(endpoint objectivec.IObject) NWEndpoint
func (NWEndpoint) Interface ¶
func (n NWEndpoint) Interface() INWInterface
func (NWEndpoint) InternalEndpoint ¶
func (n NWEndpoint) InternalEndpoint() objectivec.Object
func (NWEndpoint) ParentEndpointDomain ¶
func (n NWEndpoint) ParentEndpointDomain() string
func (NWEndpoint) PrivateDescription ¶
func (n NWEndpoint) PrivateDescription() string
func (NWEndpoint) RemoteInterfaceType ¶
func (n NWEndpoint) RemoteInterfaceType() int64
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.NSData)
func (NWEndpoint) TxtRecord ¶
func (n NWEndpoint) TxtRecord() foundation.NSData
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) objectivec.Class
func (NWEndpointClass) EndpointType ¶
func (_NWEndpointClass NWEndpointClass) EndpointType() uint32
func (NWEndpointClass) EndpointWithCEndpoint ¶
func (_NWEndpointClass NWEndpointClass) EndpointWithCEndpoint(cEndpoint objectivec.IObject) objectivec.IObject
func (NWEndpointClass) EndpointWithInternalEndpoint ¶
func (_NWEndpointClass NWEndpointClass) EndpointWithInternalEndpoint(endpoint objectivec.IObject) objectivec.IObject
func (NWEndpointClass) EndpointWithProtocolBufferData ¶
func (_NWEndpointClass NWEndpointClass) EndpointWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
func (NWEndpointClass) SupportsResolverCallback ¶
func (_NWEndpointClass NWEndpointClass) SupportsResolverCallback() bool
func (NWEndpointClass) SupportsSecureCoding ¶
func (_NWEndpointClass NWEndpointClass) SupportsSecureCoding() bool
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
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
func NewNWInterfaceWithInterface ¶
func NewNWInterfaceWithInterface(interface_ objectivec.IObject) NWInterface
func NewNWInterfaceWithInterfaceIndex ¶
func NewNWInterfaceWithInterfaceIndex(index uint64) NWInterface
func NewNWInterfaceWithInterfaceIndexInterfaceName ¶
func NewNWInterfaceWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
func NewNWInterfaceWithInterfaceName ¶
func NewNWInterfaceWithInterfaceName(name objectivec.IObject) NWInterface
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
func (NWInterface) Constrained ¶
func (n NWInterface) Constrained() bool
func (NWInterface) CopyLocalAddressForDefaultIPv4 ¶
func (n NWInterface) CopyLocalAddressForDefaultIPv4() objectivec.IObject
func (NWInterface) CopyLocalAddressForDefaultIPv6 ¶
func (n NWInterface) CopyLocalAddressForDefaultIPv6() objectivec.IObject
func (NWInterface) CopyLocalAddressForRemoteAddress ¶
func (n NWInterface) CopyLocalAddressForRemoteAddress(address objectivec.IObject) objectivec.IObject
func (NWInterface) CreateProtocolBufferObject ¶
func (n NWInterface) CreateProtocolBufferObject() objectivec.IObject
func (NWInterface) DelegateInterface ¶
func (n NWInterface) DelegateInterface() INWInterface
func (NWInterface) DescriptionWithIndentShowFullContent ¶
func (n NWInterface) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
func (NWInterface) EncodeWithCoder ¶
func (n NWInterface) EncodeWithCoder(coder foundation.INSCoder)
func (NWInterface) Expensive ¶
func (n NWInterface) Expensive() bool
func (NWInterface) Generation ¶
func (n NWInterface) Generation() uint64
func (NWInterface) HasDNS ¶
func (n NWInterface) HasDNS() bool
func (NWInterface) HasNAT64 ¶
func (n NWInterface) HasNAT64() bool
func (NWInterface) InitWithCoder ¶
func (n NWInterface) InitWithCoder(coder foundation.INSCoder) NWInterface
func (NWInterface) InitWithInterface ¶
func (n NWInterface) InitWithInterface(interface_ objectivec.IObject) NWInterface
func (NWInterface) InitWithInterfaceIndex ¶
func (n NWInterface) InitWithInterfaceIndex(index uint64) NWInterface
func (NWInterface) InitWithInterfaceIndexInterfaceName ¶
func (n NWInterface) InitWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
func (NWInterface) InitWithInterfaceName ¶
func (n NWInterface) InitWithInterfaceName(name objectivec.IObject) NWInterface
func (NWInterface) InterfaceIndex ¶
func (n NWInterface) InterfaceIndex() uint64
func (NWInterface) InterfaceName ¶
func (n NWInterface) InterfaceName() string
func (NWInterface) InternalInterface ¶
func (n NWInterface) InternalInterface() objectivec.Object
func (NWInterface) Ipv4Broadcast ¶
func (n NWInterface) Ipv4Broadcast() objectivec.IObject
func (NWInterface) Ipv4Netmask ¶
func (n NWInterface) Ipv4Netmask() objectivec.IObject
func (NWInterface) Ipv4Routable ¶
func (n NWInterface) Ipv4Routable() bool
func (NWInterface) Ipv6Routable ¶
func (n NWInterface) Ipv6Routable() bool
func (NWInterface) IsConstrained ¶
func (n NWInterface) IsConstrained() bool
func (NWInterface) IsDeepEqual ¶
func (n NWInterface) IsDeepEqual(equal objectivec.IObject) bool
func (NWInterface) IsExpensive ¶
func (n NWInterface) IsExpensive() bool
func (NWInterface) IsIPv4Routable ¶
func (n NWInterface) IsIPv4Routable() bool
func (NWInterface) IsIPv6Routable ¶
func (n NWInterface) IsIPv6Routable() bool
func (NWInterface) IsShallowEqual ¶
func (n NWInterface) IsShallowEqual(equal objectivec.IObject) bool
func (NWInterface) IsUltraConstrained ¶
func (n NWInterface) IsUltraConstrained() bool
func (NWInterface) Mtu ¶
func (n NWInterface) Mtu() int64
func (NWInterface) PrivateDescription ¶
func (n NWInterface) PrivateDescription() string
func (NWInterface) SetInternalInterface ¶
func (n NWInterface) SetInternalInterface(value objectivec.Object)
func (NWInterface) Subtype ¶
func (n NWInterface) Subtype() int64
func (NWInterface) SupportsMulticast ¶
func (n NWInterface) SupportsMulticast() bool
func (NWInterface) Type ¶
func (n NWInterface) Type() int64
func (NWInterface) TypeString ¶
func (n NWInterface) TypeString() string
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
func (NWInterfaceClass) DescriptionForType ¶
func (_NWInterfaceClass NWInterfaceClass) DescriptionForType(type_ int64) objectivec.IObject
func (NWInterfaceClass) InterfaceWithProtocolBufferData ¶
func (_NWInterfaceClass NWInterfaceClass) InterfaceWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
func (NWInterfaceClass) SupportsSecureCoding ¶
func (_NWInterfaceClass NWInterfaceClass) SupportsSecureCoding() bool
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
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
func NewNWParametersWithParameters ¶
func NewNWParametersWithParameters(parameters objectivec.IObject) NWParameters
func TryNWParametersCreatePlainTCP ¶
func TryNWParametersCreatePlainTCP(configureTCP NWParametersConfigureProtocolBlock) (NWParameters, error)
TryNWParametersCreatePlainTCP initializes parameters for cleartext TCP.
func (NWParameters) Account ¶
func (n NWParameters) Account() string
func (NWParameters) AllowDuplicateStateUpdates ¶
func (n NWParameters) AllowDuplicateStateUpdates() bool
func (NWParameters) AllowJoiningConnectedFd ¶
func (n NWParameters) AllowJoiningConnectedFd() bool
func (NWParameters) AllowSocketAccess ¶
func (n NWParameters) AllowSocketAccess() bool
func (NWParameters) AllowUnusableAddresses ¶
func (n NWParameters) AllowUnusableAddresses() bool
func (NWParameters) AttachProtocolListener ¶
func (n NWParameters) AttachProtocolListener() bool
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)
func (NWParameters) AvoidNetworkAgentWithUUID ¶
func (n NWParameters) AvoidNetworkAgentWithUUID(uuid objectivec.IObject)
func (NWParameters) CopyCParameters ¶
func (n NWParameters) CopyCParameters() objectivec.IObject
func (NWParameters) CopyRequiredAgentsDescription ¶
func (n NWParameters) CopyRequiredAgentsDescription() objectivec.IObject
func (NWParameters) CreateProtocolBufferObject ¶
func (n NWParameters) CreateProtocolBufferObject() objectivec.IObject
func (NWParameters) DataMode ¶
func (n NWParameters) DataMode() uint64
func (NWParameters) DescriptionWithIndentShowFullContent ¶
func (n NWParameters) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
func (NWParameters) DisableNagleAlgorithm ¶
func (n NWParameters) DisableNagleAlgorithm() bool
func (NWParameters) Discretionary ¶
func (n NWParameters) Discretionary() bool
func (NWParameters) DryRun ¶
func (n NWParameters) DryRun() bool
func (NWParameters) EffectiveBundleID ¶
func (n NWParameters) EffectiveBundleID() string
func (NWParameters) EffectiveProcessUUID ¶
func (n NWParameters) EffectiveProcessUUID() foundation.NSUUID
func (NWParameters) EnableTFO ¶
func (n NWParameters) EnableTFO() bool
func (NWParameters) EnableTFONoCookie ¶
func (n NWParameters) EnableTFONoCookie() bool
func (NWParameters) EnableTLS ¶
func (n NWParameters) EnableTLS() bool
func (NWParameters) EncodeWithCoder ¶
func (n NWParameters) EncodeWithCoder(coder foundation.INSCoder)
func (NWParameters) FastOpenForceEnable ¶
func (n NWParameters) FastOpenForceEnable() bool
func (NWParameters) HasDelegatedPIDForOriginatingPID ¶
func (n NWParameters) HasDelegatedPIDForOriginatingPID(pid int) bool
func (NWParameters) HasDelegatedProcessUUID ¶
func (n NWParameters) HasDelegatedProcessUUID() bool
func (NWParameters) HasNonEmptyProxyConfiguration ¶
func (n NWParameters) HasNonEmptyProxyConfiguration() bool
func (NWParameters) HasPreferredNetworkAgents ¶
func (n NWParameters) HasPreferredNetworkAgents() bool
func (NWParameters) HasProhibitedNetworkAgents ¶
func (n NWParameters) HasProhibitedNetworkAgents() bool
func (NWParameters) HasRequiredNetworkAgents ¶
func (n NWParameters) HasRequiredNetworkAgents() bool
func (NWParameters) HttpsProxyIsOpaque ¶
func (n NWParameters) HttpsProxyIsOpaque() bool
func (NWParameters) HttpsProxyOverTLS ¶
func (n NWParameters) HttpsProxyOverTLS() bool
func (NWParameters) IgnoreResolverStats ¶
func (n NWParameters) IgnoreResolverStats() bool
func (NWParameters) Indefinite ¶
func (n NWParameters) Indefinite() bool
func (NWParameters) InitWithCoder ¶
func (n NWParameters) InitWithCoder(coder foundation.INSCoder) NWParameters
func (NWParameters) InitWithParameters ¶
func (n NWParameters) InitWithParameters(parameters objectivec.IObject) NWParameters
func (NWParameters) InternalParameters ¶
func (n NWParameters) InternalParameters() objectivec.Object
func (NWParameters) IpProtocol ¶
func (n NWParameters) IpProtocol() byte
func (NWParameters) IsDiscretionary ¶
func (n NWParameters) IsDiscretionary() bool
func (NWParameters) IsDryRun ¶
func (n NWParameters) IsDryRun() bool
func (NWParameters) IsValid ¶
func (n NWParameters) IsValid() bool
func (NWParameters) KeepAlive ¶
func (n NWParameters) KeepAlive() bool
func (NWParameters) KeepAliveIdleTime ¶
func (n NWParameters) KeepAliveIdleTime() uint64
func (NWParameters) KeepAliveInterval ¶
func (n NWParameters) KeepAliveInterval() uint64
func (NWParameters) KeepAliveOffload ¶
func (n NWParameters) KeepAliveOffload() bool
func (NWParameters) LocalAddress ¶
func (n NWParameters) LocalAddress() unsafe.Pointer
func (NWParameters) MaximumSSLProtocolVersion ¶
func (n NWParameters) MaximumSSLProtocolVersion() uint64
func (NWParameters) MaximumSSLProtocolVersionInternal ¶
func (n NWParameters) MaximumSSLProtocolVersionInternal() uint64
func (NWParameters) Metadata ¶
func (n NWParameters) Metadata() foundation.NSData
func (NWParameters) MinimumSSLProtocolVersion ¶
func (n NWParameters) MinimumSSLProtocolVersion() uint64
func (NWParameters) MinimumSSLProtocolVersionInternal ¶
func (n NWParameters) MinimumSSLProtocolVersionInternal() uint64
func (NWParameters) Multipath ¶
func (n NWParameters) Multipath() bool
func (NWParameters) MultipathForceEnable ¶
func (n NWParameters) MultipathForceEnable() bool
func (NWParameters) MultipathService ¶
func (n NWParameters) MultipathService() int
func (NWParameters) NoProxy ¶
func (n NWParameters) NoProxy() bool
func (NWParameters) ParentID ¶
func (n NWParameters) ParentID() foundation.NSUUID
func (NWParameters) ParentIDs ¶
func (n NWParameters) ParentIDs() foundation.INSArray
func (NWParameters) Pid ¶
func (n NWParameters) Pid() int
func (NWParameters) PreferNetworkAgentWithDomainType ¶
func (n NWParameters) PreferNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
func (NWParameters) PreferNetworkAgentWithUUID ¶
func (n NWParameters) PreferNetworkAgentWithUUID(uuid objectivec.IObject)
func (NWParameters) PreferNoProxy ¶
func (n NWParameters) PreferNoProxy() bool
func (NWParameters) PrivateDescription ¶
func (n NWParameters) PrivateDescription() string
func (NWParameters) ProcessUUID ¶
func (n NWParameters) ProcessUUID() foundation.NSUUID
func (NWParameters) ProhibitCellular ¶
func (n NWParameters) ProhibitCellular() bool
func (NWParameters) ProhibitConstrainedPaths ¶
func (n NWParameters) ProhibitConstrainedPaths() bool
func (NWParameters) ProhibitExpensivePaths ¶
func (n NWParameters) ProhibitExpensivePaths() bool
func (NWParameters) ProhibitFallback ¶
func (n NWParameters) ProhibitFallback() bool
func (NWParameters) ProhibitInterface ¶
func (n NWParameters) ProhibitInterface(interface_ objectivec.IObject)
func (NWParameters) ProhibitInterfaceSubtype ¶
func (n NWParameters) ProhibitInterfaceSubtype(subtype int64)
func (NWParameters) ProhibitInterfaceType ¶
func (n NWParameters) ProhibitInterfaceType(type_ int64)
func (NWParameters) ProhibitJoiningProtocols ¶
func (n NWParameters) ProhibitJoiningProtocols() bool
func (NWParameters) ProhibitNetworkAgentWithUUID ¶
func (n NWParameters) ProhibitNetworkAgentWithUUID(uuid objectivec.IObject)
func (NWParameters) ProhibitNetworkAgentsWithDomainType ¶
func (n NWParameters) ProhibitNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
func (NWParameters) ProhibitRoaming ¶
func (n NWParameters) ProhibitRoaming() bool
func (NWParameters) ProtocolTransforms ¶
func (n NWParameters) ProtocolTransforms() foundation.INSArray
func (NWParameters) ProxyConfiguration ¶
func (n NWParameters) ProxyConfiguration() foundation.INSDictionary
func (NWParameters) ReduceBuffering ¶
func (n NWParameters) ReduceBuffering() bool
func (NWParameters) RequireNetworkAgentWithDomainType ¶
func (n NWParameters) RequireNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
func (NWParameters) RequireNetworkAgentWithUUID ¶
func (n NWParameters) RequireNetworkAgentWithUUID(uuid objectivec.IObject)
func (NWParameters) RequiredAddressFamily ¶
func (n NWParameters) RequiredAddressFamily() byte
func (NWParameters) RequiredCompanionProxyInterfaceType ¶
func (n NWParameters) RequiredCompanionProxyInterfaceType() int64
func (NWParameters) RequiredInterface ¶
func (n NWParameters) RequiredInterface() INWInterface
func (NWParameters) RequiredInterfaceSubtype ¶
func (n NWParameters) RequiredInterfaceSubtype() int64
func (NWParameters) RequiredInterfaceType ¶
func (n NWParameters) RequiredInterfaceType() int64
func (NWParameters) ResolvePTR ¶
func (n NWParameters) ResolvePTR() bool
func (NWParameters) ReuseLocalAddress ¶
func (n NWParameters) ReuseLocalAddress() bool
func (NWParameters) SSLCipherSuites ¶
func (n NWParameters) SSLCipherSuites() foundation.INSSet
func (NWParameters) SSLCipherSuitesInternal ¶
func (n NWParameters) SSLCipherSuitesInternal() foundation.INSSet
func (NWParameters) SanitizedURL ¶
func (n NWParameters) SanitizedURL() foundation.NSURL
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)
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.NSData)
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)
func (NWParameters) SetTLSSessionID ¶
func (n NWParameters) SetTLSSessionID(value foundation.NSData)
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.NSURL)
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.NSData
func (NWParameters) TlsVersionWithSSLProtocol ¶
func (n NWParameters) TlsVersionWithSSLProtocol(sSLProtocol int) uint16
func (NWParameters) TrafficClass ¶
func (n NWParameters) TrafficClass() uint64
func (NWParameters) TransportProtocol ¶
func (n NWParameters) TransportProtocol() byte
func (NWParameters) TrustInvalidCertificates ¶
func (n NWParameters) TrustInvalidCertificates() bool
func (NWParameters) Uid ¶
func (n NWParameters) Uid() uint32
func (NWParameters) Url ¶
func (n NWParameters) Url() foundation.NSURL
func (NWParameters) UseAWDL ¶
func (n NWParameters) UseAWDL() bool
func (NWParameters) UseLongOutstandingQueries ¶
func (n NWParameters) UseLongOutstandingQueries() bool
func (NWParameters) UseP2P ¶
func (n NWParameters) UseP2P() bool
func (NWParameters) Valid ¶
func (n NWParameters) Valid() bool
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
func (NWParametersClass) ParametersWithProtocolBufferData ¶
func (_NWParametersClass NWParametersClass) ParametersWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
func (NWParametersClass) SupportsSecureCoding ¶
func (_NWParametersClass NWParametersClass) SupportsSecureCoding() bool
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
func NWPathFromID ¶
NWPathFromID constructs a NWPath from an objc.ID.
func NewNWPathWithPath ¶
func NewNWPathWithPath(path objectivec.IObject) NWPath
func (NWPath) AdvertiseDescriptor ¶
func (n NWPath) AdvertiseDescriptor() INWAdvertiseDescriptor
func (NWPath) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (NWPath) BrowseDescriptor ¶
func (n NWPath) BrowseDescriptor() INWBrowseDescriptor
func (NWPath) CPath ¶
func (n NWPath) CPath() objectivec.Object
func (NWPath) ClientID ¶
func (n NWPath) ClientID() foundation.NSUUID
func (NWPath) ConnectedInterface ¶
func (n NWPath) ConnectedInterface() INWInterface
func (NWPath) Constrained ¶
func (NWPath) CopyDNSSearchDomains ¶
func (n NWPath) CopyDNSSearchDomains(domains bool) objectivec.IObject
func (NWPath) CopyDNSServerEndpoints ¶
func (n NWPath) CopyDNSServerEndpoints(endpoints bool) objectivec.IObject
func (NWPath) CopyDNSServersStrings ¶
func (n NWPath) CopyDNSServersStrings(strings objectivec.IObject) objectivec.IObject
func (NWPath) CopyDataFromNetworkAgentWithDomainType ¶
func (n NWPath) CopyDataFromNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
func (NWPath) CopyFlowDivertToken ¶
func (n NWPath) CopyFlowDivertToken() objectivec.IObject
func (NWPath) CreateProtocolBufferObject ¶
func (n NWPath) CreateProtocolBufferObject() objectivec.IObject
func (NWPath) DelegateInterface ¶
func (n NWPath) DelegateInterface() objectivec.IObject
func (NWPath) DerivedParameters ¶
func (n NWPath) DerivedParameters() INWParameters
func (NWPath) DescriptionWithIndentShowFullContent ¶
func (n NWPath) DescriptionWithIndentShowFullContent(indent int, content bool) objectivec.IObject
func (NWPath) DnsSearchDomains ¶
func (n NWPath) DnsSearchDomains() foundation.INSArray
func (NWPath) DnsServers ¶
func (n NWPath) DnsServers() foundation.INSArray
func (NWPath) DnsServersAsStrings ¶
func (n NWPath) DnsServersAsStrings() foundation.INSArray
func (NWPath) DnsServiceID ¶
func (NWPath) EffectiveLocalEndpoint ¶
func (n NWPath) EffectiveLocalEndpoint() INWEndpoint
func (NWPath) EffectiveRemoteEndpoint ¶
func (n NWPath) EffectiveRemoteEndpoint() INWEndpoint
func (NWPath) EligibleForCrazyIvan46 ¶
func (NWPath) Endpoint ¶
func (n NWPath) Endpoint() INWEndpoint
func (NWPath) FallbackEligible ¶
func (NWPath) FallbackInterface ¶
func (n NWPath) FallbackInterface() INWInterface
func (NWPath) FallbackInterfaceIndex ¶
func (NWPath) FallbackIsPreferred ¶
func (NWPath) FallbackIsWeak ¶
func (NWPath) FilterControlUnit ¶
func (NWPath) FlowDivert ¶
func (NWPath) FlowDivertAggregateUnit ¶
func (NWPath) FlowDivertControlUnit ¶
func (NWPath) Flows ¶
func (n NWPath) Flows() foundation.INSArray
func (NWPath) Gateways ¶
func (n NWPath) Gateways() foundation.INSArray
func (NWPath) GenericNetworkAgentsWithDomainType ¶
func (n NWPath) GenericNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
func (NWPath) GroupMembers ¶
func (n NWPath) GroupMembers() foundation.INSArray
func (NWPath) HasAdvertiseDescriptor ¶
func (NWPath) HasApplicationLevelFirewall ¶
func (NWPath) HasBrowseDescriptor ¶
func (NWPath) HasCustomPFRules ¶
func (NWPath) HasKernelExtensionFilter ¶
func (NWPath) HasParentalControls ¶
func (NWPath) HasProxySettings ¶
func (NWPath) HasUnsatisfiedFallbackAgent ¶
func (NWPath) InactiveNetworkAgentUUIDsOnlyVoluntary ¶
func (n NWPath) InactiveNetworkAgentUUIDsOnlyVoluntary(voluntary bool) objectivec.IObject
func (NWPath) InitWithPath ¶
func (n NWPath) InitWithPath(path objectivec.IObject) NWPath
func (NWPath) Interface ¶
func (n NWPath) Interface() INWInterface
func (NWPath) InternalPath ¶
func (n NWPath) InternalPath() objectivec.Object
func (NWPath) IsConstrained ¶
func (NWPath) IsEligibleForCrazyIvan46 ¶
func (NWPath) IsEqualToPath ¶
func (n NWPath) IsEqualToPath(path objectivec.IObject) bool
func (NWPath) IsExpensive ¶
func (NWPath) IsFiltered ¶
func (NWPath) IsFlowDivert ¶
func (NWPath) IsLinkQualityAbort ¶
func (NWPath) IsListener ¶
func (NWPath) IsListenerInterfaceSpecific ¶
func (NWPath) IsPerAppVPN ¶
func (NWPath) IsUltraConstrained ¶
func (NWPath) MaximumDatagramSize ¶
func (NWPath) NetworkAgentsOfType ¶
func (n NWPath) NetworkAgentsOfType(type_ objectivec.Class) objectivec.IObject
func (NWPath) OverrideDNSSearchDomains ¶
func (n NWPath) OverrideDNSSearchDomains() foundation.INSArray
func (NWPath) OverrideDNSServers ¶
func (n NWPath) OverrideDNSServers() foundation.INSArray
func (NWPath) OverrideDNSServersAsStrings ¶
func (n NWPath) OverrideDNSServersAsStrings() foundation.INSArray
func (NWPath) Parameters ¶
func (n NWPath) Parameters() INWParameters
func (NWPath) PrivateDescription ¶
func (NWPath) ProxySettings ¶
func (n NWPath) ProxySettings() foundation.INSArray
func (NWPath) ReasonDescription ¶
func (NWPath) ScopedInterface ¶
func (n NWPath) ScopedInterface() INWInterface
func (NWPath) SecondsSinceInterfaceChange ¶
func (NWPath) ShouldProbeConnectivity ¶
func (NWPath) StatusAsString ¶
func (NWPath) SupportsDNS ¶
func (NWPath) SupportsIPv4 ¶
func (NWPath) SupportsIPv6 ¶
func (NWPath) UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately ¶
func (n NWPath) UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately(address objectivec.IObject) (bool, bool)
func (NWPath) UsesCompanion ¶
func (NWPath) UsesInterfaceType ¶
func (NWPath) UsesNetworkAgent ¶
func (n NWPath) UsesNetworkAgent(agent objectivec.IObject) bool
func (NWPath) UsesNetworkAgentType ¶
func (n NWPath) UsesNetworkAgentType(type_ objectivec.Class) bool
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
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
func (NWPathClass) PathForClientID ¶
func (_NWPathClass NWPathClass) PathForClientID(id objectivec.IObject) objectivec.IObject
func (NWPathClass) PathForClientIDParametersTLVPathResultTLV ¶
func (_NWPathClass NWPathClass) PathForClientIDParametersTLVPathResultTLV(id objectivec.IObject, tlv objectivec.IObject, tlv2 objectivec.IObject) objectivec.IObject
func (NWPathClass) PathWithProtocolBufferData ¶
func (_NWPathClass NWPathClass) PathWithProtocolBufferData(data objectivec.IObject) objectivec.IObject
type NWPrettyDescription ¶
type NWPrettyDescription interface {
objectivec.IObject
}
NWPrettyDescription protocol.
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