network

package
v0.6.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package network provides Go bindings for the Network framework.

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFunc

func BindFunc(fptr any, name string) (err error)

SPI: undocumented; may change or disappear between OS releases.

BindFunc binds the Network symbol name into fptr, which must be a pointer to a func variable.

The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.

func NewErrorBlock

func NewErrorBlock(handler ErrorHandler) (objc.ID, func())

SPI: undocumented; may change or disappear between OS releases.

NewErrorBlock wraps a Go ErrorHandler as an Objective-C block. The caller must defer the returned cleanup function.

Used by:

func SymbolAddress

func SymbolAddress(name string) (uintptr, error)

SPI: undocumented; may change or disappear between OS releases.

SymbolAddress returns the address of name in Network, whether or not this package generated a binding for it.

What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.

The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.

Types

type ErrorHandler

type ErrorHandler = func(error)

ErrorHandler is the signature for a completion handler block.

Used by:

type INWBrowseDescriptor

type INWBrowseDescriptor interface {
	objectivec.IObject

	BonjourServiceDomain() string
	BonjourServiceType() string
	BrowseWithCompletionHandler(handler ErrorHandler)
	CreateProtocolBufferObject() objectivec.IObject
	DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
	EncodedData() objectivec.IObject
	InternalDescriptor() objectivec.Object
	SetInternalDescriptor(value objectivec.Object)
	PrivateDescription() string
	InitWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor
	InitWithEncodedData(data objectivec.IObject) NWBrowseDescriptor
}

SPI: undocumented; may change or disappear between OS releases.

An interface definition for the NWBrowseDescriptor class.

Methods

type INWBrowser

type INWBrowser interface {
	objectivec.IObject

	Cancel()
	CopyDiscoveredEndpoints() objectivec.IObject
	Descriptor() INWBrowseDescriptor
	DiscoveredEndpoints() foundation.INSSet
	InternalBrowser() objectivec.Object
	InternalDiscoveredEndpoints() foundation.INSSet
	SetInternalDiscoveredEndpoints(value foundation.INSSet)
	Parameters() INWParameters
	SetUpdateHandler()
	InitWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser
}

SPI: undocumented; may change or disappear between OS releases.

An interface definition for the NWBrowser class.

Methods

type INWConnection

type INWConnection interface {
	objectivec.IObject

	Cancel()
	CancelCurrentEndpoint()
	ConnectedLocalEndpoint() INWEndpoint
	ConnectedRemoteEndpoint() INWEndpoint
	ConnectionState() int64
	CopyCurrentPath() objectivec.IObject
	CopyError() objectivec.IObject
	CurrentPath() INWPath
	Endpoint() INWEndpoint
	Error() foundation.NSError
	ForceCancel()
	GetConnectedSocket() int32
	HasBetterPath() bool
	InternalConnection() unsafe.Pointer
	SetInternalConnection(value unsafe.Pointer)
	InternalConnectionState() int64
	SetInternalConnectionState(value int64)
	InternalError() foundation.NSError
	SetInternalError(value foundation.NSError)
	InternalHasBetterPath() bool
	SetInternalHasBetterPath(value bool)
	InternalIsViable() bool
	SetInternalIsViable(value bool)
	InternalPath() INWPath
	SetInternalPath(value INWPath)
	Parameters() INWParameters
	Start()
	TlsConnectionTime() uint32
	InitWithConnectedSocket(socket int32) NWConnection
	InitWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection
	InitWithInternalConnection(connection objectivec.IObject) NWConnection
	IsViable() bool
}

SPI: undocumented; may change or disappear between OS releases.

An interface definition for the NWConnection class.

Methods

type INWEndpoint

type INWEndpoint interface {
	objectivec.IObject

	AlternatePort() uint16
	SetAlternatePort(value uint16)
	CopyCEndpoint() objectivec.IObject
	CreateProtocolBufferObject() objectivec.IObject
	DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
	EncodeWithCoder(coder foundation.INSCoder)
	EncodedData() objectivec.IObject
	Interface() INWInterface
	SetInterface(value INWInterface)
	InternalEndpoint() objectivec.Object
	SetInternalEndpoint(value objectivec.Object)
	ParentEndpointDomain() string
	PrivateDescription() string
	RemoteInterfaceType() int64
	SetRemoteInterfaceType(value int64)
	TxtRecord() foundation.NSData
	SetTxtRecord(value foundation.NSData)
	InitWithCoder(coder foundation.INSCoder) NWEndpoint
	InitWithEndpoint(endpoint objectivec.IObject) NWEndpoint
}

SPI: undocumented; may change or disappear between OS releases.

An interface definition for the NWEndpoint class.

Methods

type INWInterface

type INWInterface interface {
	objectivec.IObject

	CInterface() objectivec.Object
	CopyLocalAddressForDefaultIPv4() objectivec.IObject
	CopyLocalAddressForDefaultIPv6() objectivec.IObject
	CopyLocalAddressForRemoteAddress(address objectivec.IObject) objectivec.IObject
	CreateProtocolBufferObject() objectivec.IObject
	DelegateInterface() INWInterface
	DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
	EncodeWithCoder(coder foundation.INSCoder)
	Generation() uint64
	HasDNS() bool
	HasNAT64() bool
	InterfaceIndex() uint64
	InterfaceName() string
	InternalInterface() objectivec.Object
	SetInternalInterface(value objectivec.Object)
	Ipv4Broadcast() objectivec.IObject
	Ipv4Netmask() objectivec.IObject
	IsDeepEqual(equal objectivec.IObject) bool
	IsShallowEqual(equal objectivec.IObject) bool
	IsUltraConstrained() bool
	Mtu() int64
	PrivateDescription() string
	Subtype() int64
	SupportsMulticast() bool
	Type() int64
	TypeString() string
	InitWithCoder(coder foundation.INSCoder) NWInterface
	InitWithInterface(interface_ objectivec.IObject) NWInterface
	InitWithInterfaceIndex(index uint64) NWInterface
	InitWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface
	InitWithInterfaceName(name objectivec.IObject) NWInterface
	IsConstrained() bool
	IsExpensive() bool
	IsIPv4Routable() bool
	IsIPv6Routable() bool
}

SPI: undocumented; may change or disappear between OS releases.

An interface definition for the NWInterface class.

Methods

type INWParameters

type INWParameters interface {
	objectivec.IObject

	SSLCipherSuites() foundation.INSSet
	SetSSLCipherSuites(value foundation.INSSet)
	SSLCipherSuitesInternal() foundation.INSSet
	SetSSLCipherSuitesInternal(value foundation.INSSet)
	TLSSessionID() foundation.NSData
	SetTLSSessionID(value foundation.NSData)
	Account() string
	SetAccount(value string)
	AllowDuplicateStateUpdates() bool
	SetAllowDuplicateStateUpdates(value bool)
	AllowJoiningConnectedFd() bool
	SetAllowJoiningConnectedFd(value bool)
	AllowSocketAccess() bool
	SetAllowSocketAccess(value bool)
	AllowUnusableAddresses() bool
	SetAllowUnusableAddresses(value bool)
	AttachProtocolListener() bool
	SetAttachProtocolListener(value bool)
	AvoidNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
	AvoidNetworkAgentWithUUID(uuid objectivec.IObject)
	CopyCParameters() objectivec.IObject
	CopyEffectiveAuditToken(token unsafe.Pointer) bool
	CopyRequiredAgentsDescription() objectivec.IObject
	CreateProtocolBufferObject() objectivec.IObject
	DataMode() uint64
	SetDataMode(value uint64)
	DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
	DisableNagleAlgorithm() bool
	SetDisableNagleAlgorithm(value bool)
	EffectiveBundleID() string
	SetEffectiveBundleID(value string)
	EffectiveProcessUUID() foundation.NSUUID
	SetEffectiveProcessUUID(value foundation.NSUUID)
	EnableTFO() bool
	SetEnableTFO(value bool)
	EnableTFONoCookie() bool
	SetEnableTFONoCookie(value bool)
	EnableTLS() bool
	SetEnableTLS(value bool)
	EncodeWithCoder(coder foundation.INSCoder)
	FastOpenForceEnable() bool
	SetFastOpenForceEnable(value bool)
	HasDelegatedPIDForOriginatingPID(pid int32) bool
	HasDelegatedProcessUUID() bool
	HasNonEmptyProxyConfiguration() bool
	HasPreferredNetworkAgents() bool
	HasProhibitedNetworkAgents() bool
	HasRequiredNetworkAgents() bool
	HttpsProxyIsOpaque() bool
	SetHttpsProxyIsOpaque(value bool)
	HttpsProxyOverTLS() bool
	SetHttpsProxyOverTLS(value bool)
	IgnoreResolverStats() bool
	SetIgnoreResolverStats(value bool)
	Indefinite() bool
	SetIndefinite(value bool)
	InternalParameters() objectivec.Object
	SetInternalParameters(value objectivec.Object)
	IpProtocol() byte
	KeepAlive() bool
	SetKeepAlive(value bool)
	KeepAliveIdleTime() uint64
	SetKeepAliveIdleTime(value uint64)
	KeepAliveInterval() uint64
	SetKeepAliveInterval(value uint64)
	KeepAliveOffload() bool
	SetKeepAliveOffload(value bool)
	LocalAddress() unsafe.Pointer
	SetLocalAddress(value unsafe.Pointer)
	MaximumSSLProtocolVersion() uint64
	SetMaximumSSLProtocolVersion(value uint64)
	MaximumSSLProtocolVersionInternal() uint64
	SetMaximumSSLProtocolVersionInternal(value uint64)
	Metadata() foundation.NSData
	SetMetadata(value foundation.NSData)
	MinimumSSLProtocolVersion() uint64
	SetMinimumSSLProtocolVersion(value uint64)
	MinimumSSLProtocolVersionInternal() uint64
	SetMinimumSSLProtocolVersionInternal(value uint64)
	Multipath() bool
	SetMultipath(value bool)
	MultipathForceEnable() bool
	SetMultipathForceEnable(value bool)
	MultipathService() int32
	SetMultipathService(value int32)
	NoProxy() bool
	SetNoProxy(value bool)
	ParentID() foundation.NSUUID
	SetParentID(value foundation.NSUUID)
	ParentIDs() foundation.INSArray
	Pid() int32
	SetPid(value int32)
	PreferNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
	PreferNetworkAgentWithUUID(uuid objectivec.IObject)
	PreferNoProxy() bool
	SetPreferNoProxy(value bool)
	PrivateDescription() string
	ProcessUUID() foundation.NSUUID
	SetProcessUUID(value foundation.NSUUID)
	ProhibitCellular() bool
	ProhibitConstrainedPaths() bool
	SetProhibitConstrainedPaths(value bool)
	ProhibitExpensivePaths() bool
	SetProhibitExpensivePaths(value bool)
	ProhibitFallback() bool
	SetProhibitFallback(value bool)
	ProhibitInterface(interface_ objectivec.IObject)
	ProhibitInterfaceSubtype(subtype int64)
	ProhibitInterfaceType(type_ int64)
	ProhibitJoiningProtocols() bool
	SetProhibitJoiningProtocols(value bool)
	ProhibitNetworkAgentWithUUID(uuid objectivec.IObject)
	ProhibitNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
	ProhibitRoaming() bool
	SetProhibitRoaming(value bool)
	ProtocolTransforms() foundation.INSArray
	SetProtocolTransforms(value foundation.INSArray)
	ProxyConfiguration() foundation.INSDictionary
	SetProxyConfiguration(value foundation.INSDictionary)
	ReduceBuffering() bool
	SetReduceBuffering(value bool)
	RequireNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)
	RequireNetworkAgentWithUUID(uuid objectivec.IObject)
	RequiredAddressFamily() byte
	SetRequiredAddressFamily(value byte)
	RequiredCompanionProxyInterfaceType() int64
	SetRequiredCompanionProxyInterfaceType(value int64)
	RequiredInterface() INWInterface
	SetRequiredInterface(value INWInterface)
	RequiredInterfaceSubtype() int64
	SetRequiredInterfaceSubtype(value int64)
	RequiredInterfaceType() int64
	SetRequiredInterfaceType(value int64)
	ResolvePTR() bool
	SetResolvePTR(value bool)
	ReuseLocalAddress() bool
	SetReuseLocalAddress(value bool)
	SanitizedURL() foundation.NSURL
	SetInitialDataPayload(payload objectivec.IObject)
	SetSourceApplicationWithBundleID(id objectivec.IObject)
	TlsVersionWithSSLProtocol(sSLProtocol int32) uint16
	TrafficClass() uint64
	SetTrafficClass(value uint64)
	TransportProtocol() byte
	TrustInvalidCertificates() bool
	SetTrustInvalidCertificates(value bool)
	Uid() uint32
	SetUid(value uint32)
	Url() foundation.NSURL
	SetUrl(value foundation.NSURL)
	UseAWDL() bool
	SetUseAWDL(value bool)
	UseLongOutstandingQueries() bool
	SetUseLongOutstandingQueries(value bool)
	UseP2P() bool
	SetUseP2P(value bool)
	InitWithCoder(coder foundation.INSCoder) NWParameters
	InitWithParameters(parameters objectivec.IObject) NWParameters
	IsDiscretionary() bool
	SetDiscretionary(value bool)
	IsDryRun() bool
	IsValid() bool
}

SPI: undocumented; may change or disappear between OS releases.

An interface definition for the NWParameters class.

Methods

type INWPath

type INWPath interface {
	objectivec.IObject

	AdvertiseDescriptor() INWAdvertiseDescriptor
	BrowseDescriptor() INWBrowseDescriptor
	CPath() objectivec.Object
	ClientID() foundation.NSUUID
	ConnectedInterface() INWInterface
	CopyDNSSearchDomains(domains bool) objectivec.IObject
	CopyDNSServerEndpoints(endpoints bool) objectivec.IObject
	CopyDNSServersStrings(strings objectivec.IObject) objectivec.IObject
	CopyDataFromNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
	CopyFlowDivertToken() objectivec.IObject
	CreateProtocolBufferObject() objectivec.IObject
	DelegateInterface() objectivec.IObject
	DerivedParameters() INWParameters
	DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
	DnsSearchDomains() foundation.INSArray
	DnsServers() foundation.INSArray
	DnsServersAsStrings() foundation.INSArray
	DnsServiceID() int32
	EffectiveLocalEndpoint() INWEndpoint
	EffectiveRemoteEndpoint() INWEndpoint
	Endpoint() INWEndpoint
	FallbackEligible() bool
	FallbackInterface() INWInterface
	FallbackInterfaceIndex() uint32
	FallbackIsPreferred() bool
	FallbackIsWeak() bool
	FilterControlUnit() uint32
	FlowDivertAggregateUnit() uint32
	FlowDivertControlUnit() uint32
	Flows() foundation.INSArray
	Gateways() foundation.INSArray
	GenericNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject
	GroupMembers() foundation.INSArray
	HasAdvertiseDescriptor() bool
	HasApplicationLevelFirewall() bool
	HasBrowseDescriptor() bool
	HasCustomPFRules() bool
	HasKernelExtensionFilter() bool
	HasParentalControls() bool
	HasProxySettings() bool
	HasUnsatisfiedFallbackAgent() bool
	InactiveNetworkAgentUUIDsOnlyVoluntary(voluntary bool) objectivec.IObject
	Interface() INWInterface
	InternalPath() objectivec.Object
	IsEqualToPath(path objectivec.IObject) bool
	IsLinkQualityAbort() bool
	IsListenerInterfaceSpecific() bool
	IsUltraConstrained() bool
	MaximumDatagramSize() int64
	Mtu() int64
	NetworkAgentsOfType(type_ objc.Class) objectivec.IObject
	OverrideDNSSearchDomains() foundation.INSArray
	OverrideDNSServers() foundation.INSArray
	OverrideDNSServersAsStrings() foundation.INSArray
	Parameters() INWParameters
	PolicyID() uint32
	PrivateDescription() string
	ProxySettings() foundation.INSArray
	Reason() int64
	ReasonDescription() string
	ScopedInterface() INWInterface
	SecondsSinceInterfaceChange() uint64
	ShouldProbeConnectivity() bool
	Status() int64
	StatusAsString() string
	SupportsDNS() bool
	SupportsIPv4() bool
	SupportsIPv6() bool
	UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately(address objectivec.IObject) (bool, bool)
	UsesCompanion() bool
	UsesInterfaceType(type_ int64) bool
	UsesNetworkAgent(agent objectivec.IObject) bool
	UsesNetworkAgentType(type_ objc.Class) bool
	InitWithPath(path objectivec.IObject) NWPath
	IsConstrained() bool
	IsDirect() bool
	IsEligibleForCrazyIvan46() bool
	IsExpensive() bool
	IsFiltered() bool
	IsFlowDivert() bool
	IsListener() bool
	IsLocal() bool
	IsPerAppVPN() bool
	IsRoaming() bool
	IsViable() bool
}

SPI: undocumented; may change or disappear between OS releases.

An interface definition for the NWPath class.

Methods

type NSCopying

type NSCopying interface {
	objectivec.IObject
}

SPI: undocumented; may change or disappear between OS releases.

NSCopying protocol.

type NSCopyingObject

type NSCopyingObject struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

NSCopyingObject wraps an existing Objective-C object that conforms to the NSCopying protocol.

func NSCopyingObjectFromID

func NSCopyingObjectFromID(id objc.ID) NSCopyingObject

SPI: undocumented; may change or disappear between OS releases.

NSCopyingObjectFromID constructs a NSCopyingObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (NSCopyingObject) BaseObject

func (o NSCopyingObject) BaseObject() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

type NSSecureCoding

type NSSecureCoding interface {
	objectivec.IObject

	// SupportsSecureCoding protocol.
	SupportsSecureCoding() bool
}

SPI: undocumented; may change or disappear between OS releases.

NSSecureCoding protocol.

type NSSecureCodingObject

type NSSecureCodingObject struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

NSSecureCodingObject wraps an existing Objective-C object that conforms to the NSSecureCoding protocol.

func NSSecureCodingObjectFromID

func NSSecureCodingObjectFromID(id objc.ID) NSSecureCodingObject

SPI: undocumented; may change or disappear between OS releases.

NSSecureCodingObjectFromID constructs a NSSecureCodingObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (NSSecureCodingObject) BaseObject

func (o NSSecureCodingObject) BaseObject() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NSSecureCodingObject) SupportsSecureCoding

func (o NSSecureCodingObject) SupportsSecureCoding() bool

SPI: undocumented; may change or disappear between OS releases.

type NWAdvertiseDescriptor

type NWAdvertiseDescriptor struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

Methods

func NWAdvertiseDescriptorFromID

func NWAdvertiseDescriptorFromID(id objc.ID) NWAdvertiseDescriptor

SPI: undocumented; may change or disappear between OS releases.

NWAdvertiseDescriptorFromID constructs a NWAdvertiseDescriptor from an objc.ID.

func NewNWAdvertiseDescriptor

func NewNWAdvertiseDescriptor() NWAdvertiseDescriptor

SPI: undocumented; may change or disappear between OS releases.

NewNWAdvertiseDescriptor creates a new NWAdvertiseDescriptor instance.

func NewNWAdvertiseDescriptorWithDescriptor

func NewNWAdvertiseDescriptorWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func NewNWAdvertiseDescriptorWithNameTypeDomain

func NewNWAdvertiseDescriptorWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) Autorelease

SPI: undocumented; may change or disappear between OS releases.

Autorelease adds the receiver to the current autorelease pool.

func (NWAdvertiseDescriptor) BonjourServiceDomain

func (n NWAdvertiseDescriptor) BonjourServiceDomain() string

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) BonjourServiceName

func (n NWAdvertiseDescriptor) BonjourServiceName() string

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) BonjourServiceType

func (n NWAdvertiseDescriptor) BonjourServiceType() string

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) DescriptionWithIndentShowFullContent

func (n NWAdvertiseDescriptor) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) Init

SPI: undocumented; may change or disappear between OS releases.

Init initializes the instance.

func (NWAdvertiseDescriptor) InitWithDescriptor

func (n NWAdvertiseDescriptor) InitWithDescriptor(descriptor objectivec.IObject) NWAdvertiseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) InitWithNameTypeDomain

func (n NWAdvertiseDescriptor) InitWithNameTypeDomain(name objectivec.IObject, type_ objectivec.IObject, domain objectivec.IObject) NWAdvertiseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) InternalDescriptor

func (n NWAdvertiseDescriptor) InternalDescriptor() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) PrivateDescription

func (n NWAdvertiseDescriptor) PrivateDescription() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) SetInternalDescriptor

func (n NWAdvertiseDescriptor) SetInternalDescriptor(value objectivec.Object)

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) SetTxtRecord

func (n NWAdvertiseDescriptor) SetTxtRecord(value foundation.NSData)

SPI: undocumented; may change or disappear between OS releases.

func (NWAdvertiseDescriptor) TxtRecord

func (n NWAdvertiseDescriptor) TxtRecord() foundation.NSData

SPI: undocumented; may change or disappear between OS releases.

type NWAdvertiseDescriptorClass

type NWAdvertiseDescriptorClass struct {
	// contains filtered or unexported fields
}

SPI: undocumented; may change or disappear between OS releases.

func GetNWAdvertiseDescriptorClass

func GetNWAdvertiseDescriptorClass() NWAdvertiseDescriptorClass

SPI: undocumented; may change or disappear between OS releases.

GetNWAdvertiseDescriptorClass returns the class object for NWAdvertiseDescriptor.

func (NWAdvertiseDescriptorClass) Alloc

SPI: undocumented; may change or disappear between OS releases.

Alloc allocates memory for a new instance of the class.

func (NWAdvertiseDescriptorClass) Class

SPI: undocumented; may change or disappear between OS releases.

Class returns the underlying Objective-C class pointer.

type NWBrowseDescriptor

type NWBrowseDescriptor struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

Methods

func NWBrowseDescriptorFromID

func NWBrowseDescriptorFromID(id objc.ID) NWBrowseDescriptor

SPI: undocumented; may change or disappear between OS releases.

NWBrowseDescriptorFromID constructs a NWBrowseDescriptor from an objc.ID.

func NewNWBrowseDescriptor

func NewNWBrowseDescriptor() NWBrowseDescriptor

SPI: undocumented; may change or disappear between OS releases.

NewNWBrowseDescriptor creates a new NWBrowseDescriptor instance.

func NewNWBrowseDescriptorWithDescriptor

func NewNWBrowseDescriptorWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func NewNWBrowseDescriptorWithEncodedData

func NewNWBrowseDescriptorWithEncodedData(data objectivec.IObject) NWBrowseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) Autorelease

func (n NWBrowseDescriptor) Autorelease() NWBrowseDescriptor

SPI: undocumented; may change or disappear between OS releases.

Autorelease adds the receiver to the current autorelease pool.

func (NWBrowseDescriptor) BonjourServiceDomain

func (n NWBrowseDescriptor) BonjourServiceDomain() string

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) BonjourServiceType

func (n NWBrowseDescriptor) BonjourServiceType() string

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) Browse

func (n NWBrowseDescriptor) Browse(ctx context.Context) error

SPI: undocumented; may change or disappear between OS releases.

Browse is a synchronous wrapper around NWBrowseDescriptor.BrowseWithCompletionHandler. It blocks until the completion handler fires or the context is cancelled.

func (NWBrowseDescriptor) BrowseWithCompletionHandler

func (n NWBrowseDescriptor) BrowseWithCompletionHandler(handler ErrorHandler)

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) CreateProtocolBufferObject

func (n NWBrowseDescriptor) CreateProtocolBufferObject() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) DescriptionWithIndentShowFullContent

func (n NWBrowseDescriptor) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) EncodedData

func (n NWBrowseDescriptor) EncodedData() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) Init

SPI: undocumented; may change or disappear between OS releases.

Init initializes the instance.

func (NWBrowseDescriptor) InitWithDescriptor

func (n NWBrowseDescriptor) InitWithDescriptor(descriptor objectivec.IObject) NWBrowseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) InitWithEncodedData

func (n NWBrowseDescriptor) InitWithEncodedData(data objectivec.IObject) NWBrowseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) InternalDescriptor

func (n NWBrowseDescriptor) InternalDescriptor() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) PrivateDescription

func (n NWBrowseDescriptor) PrivateDescription() string

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptor) SetInternalDescriptor

func (n NWBrowseDescriptor) SetInternalDescriptor(value objectivec.Object)

SPI: undocumented; may change or disappear between OS releases.

type NWBrowseDescriptorClass

type NWBrowseDescriptorClass struct {
	// contains filtered or unexported fields
}

SPI: undocumented; may change or disappear between OS releases.

func GetNWBrowseDescriptorClass

func GetNWBrowseDescriptorClass() NWBrowseDescriptorClass

SPI: undocumented; may change or disappear between OS releases.

GetNWBrowseDescriptorClass returns the class object for NWBrowseDescriptor.

func (NWBrowseDescriptorClass) Alloc

SPI: undocumented; may change or disappear between OS releases.

Alloc allocates memory for a new instance of the class.

func (NWBrowseDescriptorClass) Class

func (nc NWBrowseDescriptorClass) Class() objc.Class

SPI: undocumented; may change or disappear between OS releases.

Class returns the underlying Objective-C class pointer.

func (NWBrowseDescriptorClass) CopyClassForDescriptorType

func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) CopyClassForDescriptorType(type_ int32) objc.Class

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptorClass) DescriptorType

func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorType() uint32

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptorClass) DescriptorWithInternalDescriptor

func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorWithInternalDescriptor(descriptor objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptorClass) DescriptorWithProtocolBufferData

func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) DescriptorWithProtocolBufferData(data objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowseDescriptorClass) SupportsBrowseCallback

func (_NWBrowseDescriptorClass NWBrowseDescriptorClass) SupportsBrowseCallback() bool

SPI: undocumented; may change or disappear between OS releases.

type NWBrowser

type NWBrowser struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

Methods

func NWBrowserFromID

func NWBrowserFromID(id objc.ID) NWBrowser

SPI: undocumented; may change or disappear between OS releases.

NWBrowserFromID constructs a NWBrowser from an objc.ID.

func NewNWBrowser

func NewNWBrowser() NWBrowser

SPI: undocumented; may change or disappear between OS releases.

NewNWBrowser creates a new NWBrowser instance.

func NewNWBrowserWithDescriptorParameters

func NewNWBrowserWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) Autorelease

func (n NWBrowser) Autorelease() NWBrowser

SPI: undocumented; may change or disappear between OS releases.

Autorelease adds the receiver to the current autorelease pool.

func (NWBrowser) Cancel

func (n NWBrowser) Cancel()

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) CopyDiscoveredEndpoints

func (n NWBrowser) CopyDiscoveredEndpoints() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) Descriptor

func (n NWBrowser) Descriptor() INWBrowseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) DiscoveredEndpoints

func (n NWBrowser) DiscoveredEndpoints() foundation.INSSet

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) Init

func (n NWBrowser) Init() NWBrowser

SPI: undocumented; may change or disappear between OS releases.

Init initializes the instance.

func (NWBrowser) InitWithDescriptorParameters

func (n NWBrowser) InitWithDescriptorParameters(descriptor objectivec.IObject, parameters objectivec.IObject) NWBrowser

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) InternalBrowser

func (n NWBrowser) InternalBrowser() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) InternalDiscoveredEndpoints

func (n NWBrowser) InternalDiscoveredEndpoints() foundation.INSSet

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) Parameters

func (n NWBrowser) Parameters() INWParameters

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) SetInternalDiscoveredEndpoints

func (n NWBrowser) SetInternalDiscoveredEndpoints(value foundation.INSSet)

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowser) SetUpdateHandler

func (n NWBrowser) SetUpdateHandler()

SPI: undocumented; may change or disappear between OS releases.

type NWBrowserClass

type NWBrowserClass struct {
	// contains filtered or unexported fields
}

SPI: undocumented; may change or disappear between OS releases.

func GetNWBrowserClass

func GetNWBrowserClass() NWBrowserClass

SPI: undocumented; may change or disappear between OS releases.

GetNWBrowserClass returns the class object for NWBrowser.

func (NWBrowserClass) Alloc

func (nc NWBrowserClass) Alloc() NWBrowser

SPI: undocumented; may change or disappear between OS releases.

Alloc allocates memory for a new instance of the class.

func (NWBrowserClass) AutomaticallyNotifiesObserversForKey

func (_NWBrowserClass NWBrowserClass) AutomaticallyNotifiesObserversForKey(key objectivec.IObject) bool

SPI: undocumented; may change or disappear between OS releases.

func (NWBrowserClass) Class

func (nc NWBrowserClass) Class() objc.Class

SPI: undocumented; may change or disappear between OS releases.

Class returns the underlying Objective-C class pointer.

type NWConnection

type NWConnection struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

Methods

func NWConnectionFromID

func NWConnectionFromID(id objc.ID) NWConnection

SPI: undocumented; may change or disappear between OS releases.

NWConnectionFromID constructs a NWConnection from an objc.ID.

func NewNWConnection

func NewNWConnection() NWConnection

SPI: undocumented; may change or disappear between OS releases.

NewNWConnection creates a new NWConnection instance.

func NewNWConnectionWithConnectedSocket

func NewNWConnectionWithConnectedSocket(socket int32) NWConnection

SPI: undocumented; may change or disappear between OS releases.

func NewNWConnectionWithEndpointParameters

func NewNWConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection

SPI: undocumented; may change or disappear between OS releases.

func NewNWConnectionWithInternalConnection

func NewNWConnectionWithInternalConnection(connection objectivec.IObject) NWConnection

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) Autorelease

func (n NWConnection) Autorelease() NWConnection

SPI: undocumented; may change or disappear between OS releases.

Autorelease adds the receiver to the current autorelease pool.

func (NWConnection) Cancel

func (n NWConnection) Cancel()

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) CancelCurrentEndpoint

func (n NWConnection) CancelCurrentEndpoint()

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) ConnectedLocalEndpoint

func (n NWConnection) ConnectedLocalEndpoint() INWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) ConnectedRemoteEndpoint

func (n NWConnection) ConnectedRemoteEndpoint() INWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) ConnectionState

func (n NWConnection) ConnectionState() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) CopyCurrentPath

func (n NWConnection) CopyCurrentPath() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) CopyError

func (n NWConnection) CopyError() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) CurrentPath

func (n NWConnection) CurrentPath() INWPath

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) Endpoint

func (n NWConnection) Endpoint() INWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) Error

func (n NWConnection) Error() foundation.NSError

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) ForceCancel

func (n NWConnection) ForceCancel()

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) GetConnectedSocket

func (n NWConnection) GetConnectedSocket() int32

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) HasBetterPath

func (n NWConnection) HasBetterPath() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) Init

func (n NWConnection) Init() NWConnection

SPI: undocumented; may change or disappear between OS releases.

Init initializes the instance.

func (NWConnection) InitWithConnectedSocket

func (n NWConnection) InitWithConnectedSocket(socket int32) NWConnection

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) InitWithEndpointParameters

func (n NWConnection) InitWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) NWConnection

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) InitWithInternalConnection

func (n NWConnection) InitWithInternalConnection(connection objectivec.IObject) NWConnection

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) InternalConnection

func (n NWConnection) InternalConnection() unsafe.Pointer

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) InternalConnectionState

func (n NWConnection) InternalConnectionState() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) InternalError

func (n NWConnection) InternalError() foundation.NSError

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) InternalHasBetterPath

func (n NWConnection) InternalHasBetterPath() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) InternalIsViable

func (n NWConnection) InternalIsViable() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) InternalPath

func (n NWConnection) InternalPath() INWPath

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) IsViable

func (n NWConnection) IsViable() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) Parameters

func (n NWConnection) Parameters() INWParameters

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) SetInternalConnection

func (n NWConnection) SetInternalConnection(value unsafe.Pointer)

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) SetInternalConnectionState

func (n NWConnection) SetInternalConnectionState(value int64)

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) SetInternalError

func (n NWConnection) SetInternalError(value foundation.NSError)

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) SetInternalHasBetterPath

func (n NWConnection) SetInternalHasBetterPath(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) SetInternalIsViable

func (n NWConnection) SetInternalIsViable(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) SetInternalPath

func (n NWConnection) SetInternalPath(value INWPath)

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) Start

func (n NWConnection) Start()

SPI: undocumented; may change or disappear between OS releases.

func (NWConnection) TlsConnectionTime

func (n NWConnection) TlsConnectionTime() uint32

SPI: undocumented; may change or disappear between OS releases.

type NWConnectionClass

type NWConnectionClass struct {
	// contains filtered or unexported fields
}

SPI: undocumented; may change or disappear between OS releases.

func GetNWConnectionClass

func GetNWConnectionClass() NWConnectionClass

SPI: undocumented; may change or disappear between OS releases.

GetNWConnectionClass returns the class object for NWConnection.

func (NWConnectionClass) Alloc

func (nc NWConnectionClass) Alloc() NWConnection

SPI: undocumented; may change or disappear between OS releases.

Alloc allocates memory for a new instance of the class.

func (NWConnectionClass) AutomaticallyNotifiesObserversForKey

func (_NWConnectionClass NWConnectionClass) AutomaticallyNotifiesObserversForKey(key objectivec.IObject) bool

SPI: undocumented; may change or disappear between OS releases.

func (NWConnectionClass) Class

func (nc NWConnectionClass) Class() objc.Class

SPI: undocumented; may change or disappear between OS releases.

Class returns the underlying Objective-C class pointer.

func (NWConnectionClass) ConnectionWithConnectedSocket

func (_NWConnectionClass NWConnectionClass) ConnectionWithConnectedSocket(socket int32) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWConnectionClass) ConnectionWithEndpointParameters

func (_NWConnectionClass NWConnectionClass) ConnectionWithEndpointParameters(endpoint objectivec.IObject, parameters objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWConnectionClass) ConnectionWithInternalConnection

func (_NWConnectionClass NWConnectionClass) ConnectionWithInternalConnection(connection objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

type NWEndpoint

type NWEndpoint struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

Methods

func NWEndpointFromID

func NWEndpointFromID(id objc.ID) NWEndpoint

SPI: undocumented; may change or disappear between OS releases.

NWEndpointFromID constructs a NWEndpoint from an objc.ID.

func NewNWEndpoint

func NewNWEndpoint() NWEndpoint

SPI: undocumented; may change or disappear between OS releases.

NewNWEndpoint creates a new NWEndpoint instance.

func NewNWEndpointWithCoder

func NewNWEndpointWithCoder(coder objectivec.IObject) NWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func NewNWEndpointWithEndpoint

func NewNWEndpointWithEndpoint(endpoint objectivec.IObject) NWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) AlternatePort

func (n NWEndpoint) AlternatePort() uint16

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) Autorelease

func (n NWEndpoint) Autorelease() NWEndpoint

SPI: undocumented; may change or disappear between OS releases.

Autorelease adds the receiver to the current autorelease pool.

func (NWEndpoint) CopyCEndpoint

func (n NWEndpoint) CopyCEndpoint() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) CreateProtocolBufferObject

func (n NWEndpoint) CreateProtocolBufferObject() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) DescriptionWithIndentShowFullContent

func (n NWEndpoint) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) EncodeWithCoder

func (n NWEndpoint) EncodeWithCoder(coder foundation.INSCoder)

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) EncodedData

func (n NWEndpoint) EncodedData() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) Init

func (n NWEndpoint) Init() NWEndpoint

SPI: undocumented; may change or disappear between OS releases.

Init initializes the instance.

func (NWEndpoint) InitWithCoder

func (n NWEndpoint) InitWithCoder(coder foundation.INSCoder) NWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) InitWithEndpoint

func (n NWEndpoint) InitWithEndpoint(endpoint objectivec.IObject) NWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) Interface

func (n NWEndpoint) Interface() INWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) InternalEndpoint

func (n NWEndpoint) InternalEndpoint() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) ParentEndpointDomain

func (n NWEndpoint) ParentEndpointDomain() string

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) PrivateDescription

func (n NWEndpoint) PrivateDescription() string

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) RemoteInterfaceType

func (n NWEndpoint) RemoteInterfaceType() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) SetAlternatePort

func (n NWEndpoint) SetAlternatePort(value uint16)

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) SetInterface

func (n NWEndpoint) SetInterface(value INWInterface)

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) SetInternalEndpoint

func (n NWEndpoint) SetInternalEndpoint(value objectivec.Object)

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) SetRemoteInterfaceType

func (n NWEndpoint) SetRemoteInterfaceType(value int64)

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) SetTxtRecord

func (n NWEndpoint) SetTxtRecord(value foundation.NSData)

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpoint) TxtRecord

func (n NWEndpoint) TxtRecord() foundation.NSData

SPI: undocumented; may change or disappear between OS releases.

type NWEndpointClass

type NWEndpointClass struct {
	// contains filtered or unexported fields
}

SPI: undocumented; may change or disappear between OS releases.

func GetNWEndpointClass

func GetNWEndpointClass() NWEndpointClass

SPI: undocumented; may change or disappear between OS releases.

GetNWEndpointClass returns the class object for NWEndpoint.

func (NWEndpointClass) Alloc

func (nc NWEndpointClass) Alloc() NWEndpoint

SPI: undocumented; may change or disappear between OS releases.

Alloc allocates memory for a new instance of the class.

func (NWEndpointClass) Class

func (nc NWEndpointClass) Class() objc.Class

SPI: undocumented; may change or disappear between OS releases.

Class returns the underlying Objective-C class pointer.

func (NWEndpointClass) CopyClassForEndpointType

func (_NWEndpointClass NWEndpointClass) CopyClassForEndpointType(type_ int32) objc.Class

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpointClass) EndpointType

func (_NWEndpointClass NWEndpointClass) EndpointType() uint32

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpointClass) EndpointWithCEndpoint

func (_NWEndpointClass NWEndpointClass) EndpointWithCEndpoint(cEndpoint objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpointClass) EndpointWithInternalEndpoint

func (_NWEndpointClass NWEndpointClass) EndpointWithInternalEndpoint(endpoint objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpointClass) EndpointWithProtocolBufferData

func (_NWEndpointClass NWEndpointClass) EndpointWithProtocolBufferData(data objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpointClass) SupportsResolverCallback

func (_NWEndpointClass NWEndpointClass) SupportsResolverCallback() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWEndpointClass) SupportsSecureCoding

func (_NWEndpointClass NWEndpointClass) SupportsSecureCoding() bool

SPI: undocumented; may change or disappear between OS releases.

type NWInterface

type NWInterface struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

Methods

func NWInterfaceFromID

func NWInterfaceFromID(id objc.ID) NWInterface

SPI: undocumented; may change or disappear between OS releases.

NWInterfaceFromID constructs a NWInterface from an objc.ID.

func NewNWInterface

func NewNWInterface() NWInterface

SPI: undocumented; may change or disappear between OS releases.

NewNWInterface creates a new NWInterface instance.

func NewNWInterfaceWithCoder

func NewNWInterfaceWithCoder(coder objectivec.IObject) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func NewNWInterfaceWithInterface

func NewNWInterfaceWithInterface(interface_ objectivec.IObject) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func NewNWInterfaceWithInterfaceIndex

func NewNWInterfaceWithInterfaceIndex(index uint64) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func NewNWInterfaceWithInterfaceIndexInterfaceName

func NewNWInterfaceWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func NewNWInterfaceWithInterfaceName

func NewNWInterfaceWithInterfaceName(name objectivec.IObject) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) Autorelease

func (n NWInterface) Autorelease() NWInterface

SPI: undocumented; may change or disappear between OS releases.

Autorelease adds the receiver to the current autorelease pool.

func (NWInterface) CInterface

func (n NWInterface) CInterface() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) CopyLocalAddressForDefaultIPv4

func (n NWInterface) CopyLocalAddressForDefaultIPv4() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) CopyLocalAddressForDefaultIPv6

func (n NWInterface) CopyLocalAddressForDefaultIPv6() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) CopyLocalAddressForRemoteAddress

func (n NWInterface) CopyLocalAddressForRemoteAddress(address objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) CreateProtocolBufferObject

func (n NWInterface) CreateProtocolBufferObject() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) DelegateInterface

func (n NWInterface) DelegateInterface() INWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) DescriptionWithIndentShowFullContent

func (n NWInterface) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) EncodeWithCoder

func (n NWInterface) EncodeWithCoder(coder foundation.INSCoder)

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) Generation

func (n NWInterface) Generation() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) HasDNS

func (n NWInterface) HasDNS() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) HasNAT64

func (n NWInterface) HasNAT64() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) Init

func (n NWInterface) Init() NWInterface

SPI: undocumented; may change or disappear between OS releases.

Init initializes the instance.

func (NWInterface) InitWithCoder

func (n NWInterface) InitWithCoder(coder foundation.INSCoder) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) InitWithInterface

func (n NWInterface) InitWithInterface(interface_ objectivec.IObject) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) InitWithInterfaceIndex

func (n NWInterface) InitWithInterfaceIndex(index uint64) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) InitWithInterfaceIndexInterfaceName

func (n NWInterface) InitWithInterfaceIndexInterfaceName(index uint64, name objectivec.IObject) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) InitWithInterfaceName

func (n NWInterface) InitWithInterfaceName(name objectivec.IObject) NWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) InterfaceIndex

func (n NWInterface) InterfaceIndex() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) InterfaceName

func (n NWInterface) InterfaceName() string

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) InternalInterface

func (n NWInterface) InternalInterface() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) Ipv4Broadcast

func (n NWInterface) Ipv4Broadcast() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) Ipv4Netmask

func (n NWInterface) Ipv4Netmask() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) IsConstrained

func (n NWInterface) IsConstrained() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) IsDeepEqual

func (n NWInterface) IsDeepEqual(equal objectivec.IObject) bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) IsExpensive

func (n NWInterface) IsExpensive() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) IsIPv4Routable

func (n NWInterface) IsIPv4Routable() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) IsIPv6Routable

func (n NWInterface) IsIPv6Routable() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) IsShallowEqual

func (n NWInterface) IsShallowEqual(equal objectivec.IObject) bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) IsUltraConstrained

func (n NWInterface) IsUltraConstrained() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) Mtu

func (n NWInterface) Mtu() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) PrivateDescription

func (n NWInterface) PrivateDescription() string

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) SetInternalInterface

func (n NWInterface) SetInternalInterface(value objectivec.Object)

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) Subtype

func (n NWInterface) Subtype() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) SupportsMulticast

func (n NWInterface) SupportsMulticast() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) Type

func (n NWInterface) Type() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWInterface) TypeString

func (n NWInterface) TypeString() string

SPI: undocumented; may change or disappear between OS releases.

type NWInterfaceClass

type NWInterfaceClass struct {
	// contains filtered or unexported fields
}

SPI: undocumented; may change or disappear between OS releases.

func GetNWInterfaceClass

func GetNWInterfaceClass() NWInterfaceClass

SPI: undocumented; may change or disappear between OS releases.

GetNWInterfaceClass returns the class object for NWInterface.

func (NWInterfaceClass) Alloc

func (nc NWInterfaceClass) Alloc() NWInterface

SPI: undocumented; may change or disappear between OS releases.

Alloc allocates memory for a new instance of the class.

func (NWInterfaceClass) Class

func (nc NWInterfaceClass) Class() objc.Class

SPI: undocumented; may change or disappear between OS releases.

Class returns the underlying Objective-C class pointer.

func (NWInterfaceClass) DescriptionForSubtype

func (_NWInterfaceClass NWInterfaceClass) DescriptionForSubtype(subtype int64) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterfaceClass) DescriptionForType

func (_NWInterfaceClass NWInterfaceClass) DescriptionForType(type_ int64) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterfaceClass) InterfaceWithProtocolBufferData

func (_NWInterfaceClass NWInterfaceClass) InterfaceWithProtocolBufferData(data objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWInterfaceClass) SupportsSecureCoding

func (_NWInterfaceClass NWInterfaceClass) SupportsSecureCoding() bool

SPI: undocumented; may change or disappear between OS releases.

type NWParameters

type NWParameters struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

Methods

func NWParametersCreatePlainTCP

func NWParametersCreatePlainTCP(configureTCP NWParametersConfigureProtocolBlock) NWParameters

SPI: undocumented; may change or disappear between OS releases.

NWParametersCreatePlainTCP initializes parameters for cleartext TCP.

func NWParametersFromID

func NWParametersFromID(id objc.ID) NWParameters

SPI: undocumented; may change or disappear between OS releases.

NWParametersFromID constructs a NWParameters from an objc.ID.

func NewNWParameters

func NewNWParameters() NWParameters

SPI: undocumented; may change or disappear between OS releases.

NewNWParameters creates a new NWParameters instance.

func NewNWParametersWithCoder

func NewNWParametersWithCoder(coder objectivec.IObject) NWParameters

SPI: undocumented; may change or disappear between OS releases.

func NewNWParametersWithParameters

func NewNWParametersWithParameters(parameters objectivec.IObject) NWParameters

SPI: undocumented; may change or disappear between OS releases.

func TryNWParametersCreatePlainTCP

func TryNWParametersCreatePlainTCP(configureTCP NWParametersConfigureProtocolBlock) (NWParameters, error)

SPI: undocumented; may change or disappear between OS releases.

TryNWParametersCreatePlainTCP initializes parameters for cleartext TCP.

func (NWParameters) Account

func (n NWParameters) Account() string

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) AllowDuplicateStateUpdates

func (n NWParameters) AllowDuplicateStateUpdates() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) AllowJoiningConnectedFd

func (n NWParameters) AllowJoiningConnectedFd() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) AllowSocketAccess

func (n NWParameters) AllowSocketAccess() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) AllowUnusableAddresses

func (n NWParameters) AllowUnusableAddresses() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) AttachProtocolListener

func (n NWParameters) AttachProtocolListener() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) Autorelease

func (n NWParameters) Autorelease() NWParameters

SPI: undocumented; may change or disappear between OS releases.

Autorelease adds the receiver to the current autorelease pool.

func (NWParameters) AvoidNetworkAgentWithDomainType

func (n NWParameters) AvoidNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) AvoidNetworkAgentWithUUID

func (n NWParameters) AvoidNetworkAgentWithUUID(uuid objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) CopyCParameters

func (n NWParameters) CopyCParameters() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) CopyEffectiveAuditToken added in v0.6.17

func (n NWParameters) CopyEffectiveAuditToken(token unsafe.Pointer) bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) CopyRequiredAgentsDescription

func (n NWParameters) CopyRequiredAgentsDescription() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) CreateProtocolBufferObject

func (n NWParameters) CreateProtocolBufferObject() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) DataMode

func (n NWParameters) DataMode() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) DescriptionWithIndentShowFullContent

func (n NWParameters) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) DisableNagleAlgorithm

func (n NWParameters) DisableNagleAlgorithm() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) EffectiveBundleID

func (n NWParameters) EffectiveBundleID() string

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) EffectiveProcessUUID

func (n NWParameters) EffectiveProcessUUID() foundation.NSUUID

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) EnableTFO

func (n NWParameters) EnableTFO() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) EnableTFONoCookie

func (n NWParameters) EnableTFONoCookie() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) EnableTLS

func (n NWParameters) EnableTLS() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) EncodeWithCoder

func (n NWParameters) EncodeWithCoder(coder foundation.INSCoder)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) FastOpenForceEnable

func (n NWParameters) FastOpenForceEnable() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) HasDelegatedPIDForOriginatingPID

func (n NWParameters) HasDelegatedPIDForOriginatingPID(pid int32) bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) HasDelegatedProcessUUID

func (n NWParameters) HasDelegatedProcessUUID() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) HasNonEmptyProxyConfiguration

func (n NWParameters) HasNonEmptyProxyConfiguration() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) HasPreferredNetworkAgents

func (n NWParameters) HasPreferredNetworkAgents() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) HasProhibitedNetworkAgents

func (n NWParameters) HasProhibitedNetworkAgents() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) HasRequiredNetworkAgents

func (n NWParameters) HasRequiredNetworkAgents() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) HttpsProxyIsOpaque

func (n NWParameters) HttpsProxyIsOpaque() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) HttpsProxyOverTLS

func (n NWParameters) HttpsProxyOverTLS() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) IgnoreResolverStats

func (n NWParameters) IgnoreResolverStats() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) Indefinite

func (n NWParameters) Indefinite() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) Init

func (n NWParameters) Init() NWParameters

SPI: undocumented; may change or disappear between OS releases.

Init initializes the instance.

func (NWParameters) InitWithCoder

func (n NWParameters) InitWithCoder(coder foundation.INSCoder) NWParameters

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) InitWithParameters

func (n NWParameters) InitWithParameters(parameters objectivec.IObject) NWParameters

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) InternalParameters

func (n NWParameters) InternalParameters() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) IpProtocol

func (n NWParameters) IpProtocol() byte

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) IsDiscretionary

func (n NWParameters) IsDiscretionary() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) IsDryRun

func (n NWParameters) IsDryRun() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) IsValid

func (n NWParameters) IsValid() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) KeepAlive

func (n NWParameters) KeepAlive() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) KeepAliveIdleTime

func (n NWParameters) KeepAliveIdleTime() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) KeepAliveInterval

func (n NWParameters) KeepAliveInterval() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) KeepAliveOffload

func (n NWParameters) KeepAliveOffload() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) LocalAddress

func (n NWParameters) LocalAddress() unsafe.Pointer

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) MaximumSSLProtocolVersion

func (n NWParameters) MaximumSSLProtocolVersion() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) MaximumSSLProtocolVersionInternal

func (n NWParameters) MaximumSSLProtocolVersionInternal() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) Metadata

func (n NWParameters) Metadata() foundation.NSData

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) MinimumSSLProtocolVersion

func (n NWParameters) MinimumSSLProtocolVersion() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) MinimumSSLProtocolVersionInternal

func (n NWParameters) MinimumSSLProtocolVersionInternal() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) Multipath

func (n NWParameters) Multipath() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) MultipathForceEnable

func (n NWParameters) MultipathForceEnable() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) MultipathService

func (n NWParameters) MultipathService() int32

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) NoProxy

func (n NWParameters) NoProxy() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ParentID

func (n NWParameters) ParentID() foundation.NSUUID

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ParentIDs

func (n NWParameters) ParentIDs() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) Pid

func (n NWParameters) Pid() int32

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) PreferNetworkAgentWithDomainType

func (n NWParameters) PreferNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) PreferNetworkAgentWithUUID

func (n NWParameters) PreferNetworkAgentWithUUID(uuid objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) PreferNoProxy

func (n NWParameters) PreferNoProxy() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) PrivateDescription

func (n NWParameters) PrivateDescription() string

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProcessUUID

func (n NWParameters) ProcessUUID() foundation.NSUUID

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitCellular

func (n NWParameters) ProhibitCellular() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitConstrainedPaths

func (n NWParameters) ProhibitConstrainedPaths() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitExpensivePaths

func (n NWParameters) ProhibitExpensivePaths() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitFallback

func (n NWParameters) ProhibitFallback() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitInterface

func (n NWParameters) ProhibitInterface(interface_ objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitInterfaceSubtype

func (n NWParameters) ProhibitInterfaceSubtype(subtype int64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitInterfaceType

func (n NWParameters) ProhibitInterfaceType(type_ int64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitJoiningProtocols

func (n NWParameters) ProhibitJoiningProtocols() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitNetworkAgentWithUUID

func (n NWParameters) ProhibitNetworkAgentWithUUID(uuid objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitNetworkAgentsWithDomainType

func (n NWParameters) ProhibitNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProhibitRoaming

func (n NWParameters) ProhibitRoaming() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProtocolTransforms

func (n NWParameters) ProtocolTransforms() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ProxyConfiguration

func (n NWParameters) ProxyConfiguration() foundation.INSDictionary

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ReduceBuffering

func (n NWParameters) ReduceBuffering() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) RequireNetworkAgentWithDomainType

func (n NWParameters) RequireNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) RequireNetworkAgentWithUUID

func (n NWParameters) RequireNetworkAgentWithUUID(uuid objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) RequiredAddressFamily

func (n NWParameters) RequiredAddressFamily() byte

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) RequiredCompanionProxyInterfaceType

func (n NWParameters) RequiredCompanionProxyInterfaceType() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) RequiredInterface

func (n NWParameters) RequiredInterface() INWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) RequiredInterfaceSubtype

func (n NWParameters) RequiredInterfaceSubtype() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) RequiredInterfaceType

func (n NWParameters) RequiredInterfaceType() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ResolvePTR

func (n NWParameters) ResolvePTR() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) ReuseLocalAddress

func (n NWParameters) ReuseLocalAddress() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SSLCipherSuites

func (n NWParameters) SSLCipherSuites() foundation.INSSet

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SSLCipherSuitesInternal

func (n NWParameters) SSLCipherSuitesInternal() foundation.INSSet

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SanitizedURL

func (n NWParameters) SanitizedURL() foundation.NSURL

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetAccount

func (n NWParameters) SetAccount(value string)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetAllowDuplicateStateUpdates

func (n NWParameters) SetAllowDuplicateStateUpdates(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetAllowJoiningConnectedFd

func (n NWParameters) SetAllowJoiningConnectedFd(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetAllowSocketAccess

func (n NWParameters) SetAllowSocketAccess(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetAllowUnusableAddresses

func (n NWParameters) SetAllowUnusableAddresses(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetAttachProtocolListener

func (n NWParameters) SetAttachProtocolListener(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetDataMode

func (n NWParameters) SetDataMode(value uint64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetDisableNagleAlgorithm

func (n NWParameters) SetDisableNagleAlgorithm(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetDiscretionary

func (n NWParameters) SetDiscretionary(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetEffectiveBundleID

func (n NWParameters) SetEffectiveBundleID(value string)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetEffectiveProcessUUID

func (n NWParameters) SetEffectiveProcessUUID(value foundation.NSUUID)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetEnableTFO

func (n NWParameters) SetEnableTFO(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetEnableTFONoCookie

func (n NWParameters) SetEnableTFONoCookie(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetEnableTLS

func (n NWParameters) SetEnableTLS(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetFastOpenForceEnable

func (n NWParameters) SetFastOpenForceEnable(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetHttpsProxyIsOpaque

func (n NWParameters) SetHttpsProxyIsOpaque(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetHttpsProxyOverTLS

func (n NWParameters) SetHttpsProxyOverTLS(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetIgnoreResolverStats

func (n NWParameters) SetIgnoreResolverStats(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetIndefinite

func (n NWParameters) SetIndefinite(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetInitialDataPayload

func (n NWParameters) SetInitialDataPayload(payload objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetInternalParameters

func (n NWParameters) SetInternalParameters(value objectivec.Object)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetKeepAlive

func (n NWParameters) SetKeepAlive(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetKeepAliveIdleTime

func (n NWParameters) SetKeepAliveIdleTime(value uint64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetKeepAliveInterval

func (n NWParameters) SetKeepAliveInterval(value uint64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetKeepAliveOffload

func (n NWParameters) SetKeepAliveOffload(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetLocalAddress

func (n NWParameters) SetLocalAddress(value unsafe.Pointer)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetMaximumSSLProtocolVersion

func (n NWParameters) SetMaximumSSLProtocolVersion(value uint64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetMaximumSSLProtocolVersionInternal

func (n NWParameters) SetMaximumSSLProtocolVersionInternal(value uint64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetMetadata

func (n NWParameters) SetMetadata(value foundation.NSData)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetMinimumSSLProtocolVersion

func (n NWParameters) SetMinimumSSLProtocolVersion(value uint64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetMinimumSSLProtocolVersionInternal

func (n NWParameters) SetMinimumSSLProtocolVersionInternal(value uint64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetMultipath

func (n NWParameters) SetMultipath(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetMultipathForceEnable

func (n NWParameters) SetMultipathForceEnable(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetMultipathService

func (n NWParameters) SetMultipathService(value int32)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetNoProxy

func (n NWParameters) SetNoProxy(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetParentID

func (n NWParameters) SetParentID(value foundation.NSUUID)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetPid

func (n NWParameters) SetPid(value int32)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetPreferNoProxy

func (n NWParameters) SetPreferNoProxy(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetProcessUUID

func (n NWParameters) SetProcessUUID(value foundation.NSUUID)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetProhibitConstrainedPaths

func (n NWParameters) SetProhibitConstrainedPaths(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetProhibitExpensivePaths

func (n NWParameters) SetProhibitExpensivePaths(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetProhibitFallback

func (n NWParameters) SetProhibitFallback(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetProhibitJoiningProtocols

func (n NWParameters) SetProhibitJoiningProtocols(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetProhibitRoaming

func (n NWParameters) SetProhibitRoaming(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetProtocolTransforms

func (n NWParameters) SetProtocolTransforms(value foundation.INSArray)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetProxyConfiguration

func (n NWParameters) SetProxyConfiguration(value foundation.INSDictionary)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetReduceBuffering

func (n NWParameters) SetReduceBuffering(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetRequiredAddressFamily

func (n NWParameters) SetRequiredAddressFamily(value byte)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetRequiredCompanionProxyInterfaceType

func (n NWParameters) SetRequiredCompanionProxyInterfaceType(value int64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetRequiredInterface

func (n NWParameters) SetRequiredInterface(value INWInterface)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetRequiredInterfaceSubtype

func (n NWParameters) SetRequiredInterfaceSubtype(value int64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetRequiredInterfaceType

func (n NWParameters) SetRequiredInterfaceType(value int64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetResolvePTR

func (n NWParameters) SetResolvePTR(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetReuseLocalAddress

func (n NWParameters) SetReuseLocalAddress(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetSSLCipherSuites

func (n NWParameters) SetSSLCipherSuites(value foundation.INSSet)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetSSLCipherSuitesInternal

func (n NWParameters) SetSSLCipherSuitesInternal(value foundation.INSSet)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetSourceApplicationWithBundleID

func (n NWParameters) SetSourceApplicationWithBundleID(id objectivec.IObject)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetTLSSessionID

func (n NWParameters) SetTLSSessionID(value foundation.NSData)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetTrafficClass

func (n NWParameters) SetTrafficClass(value uint64)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetTrustInvalidCertificates

func (n NWParameters) SetTrustInvalidCertificates(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetUid

func (n NWParameters) SetUid(value uint32)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetUrl

func (n NWParameters) SetUrl(value foundation.NSURL)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetUseAWDL

func (n NWParameters) SetUseAWDL(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetUseLongOutstandingQueries

func (n NWParameters) SetUseLongOutstandingQueries(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) SetUseP2P

func (n NWParameters) SetUseP2P(value bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) TLSSessionID

func (n NWParameters) TLSSessionID() foundation.NSData

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) TlsVersionWithSSLProtocol

func (n NWParameters) TlsVersionWithSSLProtocol(sSLProtocol int32) uint16

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) TrafficClass

func (n NWParameters) TrafficClass() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) TransportProtocol

func (n NWParameters) TransportProtocol() byte

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) TrustInvalidCertificates

func (n NWParameters) TrustInvalidCertificates() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) Uid

func (n NWParameters) Uid() uint32

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) Url

func (n NWParameters) Url() foundation.NSURL

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) UseAWDL

func (n NWParameters) UseAWDL() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) UseLongOutstandingQueries

func (n NWParameters) UseLongOutstandingQueries() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWParameters) UseP2P

func (n NWParameters) UseP2P() bool

SPI: undocumented; may change or disappear between OS releases.

type NWParametersClass

type NWParametersClass struct {
	// contains filtered or unexported fields
}

SPI: undocumented; may change or disappear between OS releases.

func GetNWParametersClass

func GetNWParametersClass() NWParametersClass

SPI: undocumented; may change or disappear between OS releases.

GetNWParametersClass returns the class object for NWParameters.

func (NWParametersClass) Alloc

func (nc NWParametersClass) Alloc() NWParameters

SPI: undocumented; may change or disappear between OS releases.

Alloc allocates memory for a new instance of the class.

func (NWParametersClass) Class

func (nc NWParametersClass) Class() objc.Class

SPI: undocumented; may change or disappear between OS releases.

Class returns the underlying Objective-C class pointer.

func (NWParametersClass) ParametersWithCParameters

func (_NWParametersClass NWParametersClass) ParametersWithCParameters(cParameters objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWParametersClass) ParametersWithProtocolBufferData

func (_NWParametersClass NWParametersClass) ParametersWithProtocolBufferData(data objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWParametersClass) SupportsSecureCoding

func (_NWParametersClass NWParametersClass) SupportsSecureCoding() bool

SPI: undocumented; may change or disappear between OS releases.

type NWPath

type NWPath struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

Methods

func NWPathFromID

func NWPathFromID(id objc.ID) NWPath

SPI: undocumented; may change or disappear between OS releases.

NWPathFromID constructs a NWPath from an objc.ID.

func NewNWPath

func NewNWPath() NWPath

SPI: undocumented; may change or disappear between OS releases.

NewNWPath creates a new NWPath instance.

func NewNWPathWithPath

func NewNWPathWithPath(path objectivec.IObject) NWPath

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) AdvertiseDescriptor

func (n NWPath) AdvertiseDescriptor() INWAdvertiseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Autorelease

func (n NWPath) Autorelease() NWPath

SPI: undocumented; may change or disappear between OS releases.

Autorelease adds the receiver to the current autorelease pool.

func (NWPath) BrowseDescriptor

func (n NWPath) BrowseDescriptor() INWBrowseDescriptor

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) CPath

func (n NWPath) CPath() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) ClientID

func (n NWPath) ClientID() foundation.NSUUID

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) ConnectedInterface

func (n NWPath) ConnectedInterface() INWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) CopyDNSSearchDomains

func (n NWPath) CopyDNSSearchDomains(domains bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) CopyDNSServerEndpoints

func (n NWPath) CopyDNSServerEndpoints(endpoints bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) CopyDNSServersStrings

func (n NWPath) CopyDNSServersStrings(strings objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) CopyDataFromNetworkAgentWithDomainType

func (n NWPath) CopyDataFromNetworkAgentWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) CopyFlowDivertToken

func (n NWPath) CopyFlowDivertToken() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) CreateProtocolBufferObject

func (n NWPath) CreateProtocolBufferObject() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) DelegateInterface

func (n NWPath) DelegateInterface() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) DerivedParameters

func (n NWPath) DerivedParameters() INWParameters

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) DescriptionWithIndentShowFullContent

func (n NWPath) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) DnsSearchDomains

func (n NWPath) DnsSearchDomains() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) DnsServers

func (n NWPath) DnsServers() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) DnsServersAsStrings

func (n NWPath) DnsServersAsStrings() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) DnsServiceID

func (n NWPath) DnsServiceID() int32

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) EffectiveLocalEndpoint

func (n NWPath) EffectiveLocalEndpoint() INWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) EffectiveRemoteEndpoint

func (n NWPath) EffectiveRemoteEndpoint() INWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Endpoint

func (n NWPath) Endpoint() INWEndpoint

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) FallbackEligible

func (n NWPath) FallbackEligible() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) FallbackInterface

func (n NWPath) FallbackInterface() INWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) FallbackInterfaceIndex

func (n NWPath) FallbackInterfaceIndex() uint32

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) FallbackIsPreferred

func (n NWPath) FallbackIsPreferred() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) FallbackIsWeak

func (n NWPath) FallbackIsWeak() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) FilterControlUnit

func (n NWPath) FilterControlUnit() uint32

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) FlowDivertAggregateUnit

func (n NWPath) FlowDivertAggregateUnit() uint32

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) FlowDivertControlUnit

func (n NWPath) FlowDivertControlUnit() uint32

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Flows

func (n NWPath) Flows() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Gateways

func (n NWPath) Gateways() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) GenericNetworkAgentsWithDomainType

func (n NWPath) GenericNetworkAgentsWithDomainType(domain objectivec.IObject, type_ objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) GroupMembers

func (n NWPath) GroupMembers() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) HasAdvertiseDescriptor

func (n NWPath) HasAdvertiseDescriptor() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) HasApplicationLevelFirewall

func (n NWPath) HasApplicationLevelFirewall() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) HasBrowseDescriptor

func (n NWPath) HasBrowseDescriptor() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) HasCustomPFRules

func (n NWPath) HasCustomPFRules() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) HasKernelExtensionFilter

func (n NWPath) HasKernelExtensionFilter() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) HasParentalControls

func (n NWPath) HasParentalControls() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) HasProxySettings

func (n NWPath) HasProxySettings() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) HasUnsatisfiedFallbackAgent

func (n NWPath) HasUnsatisfiedFallbackAgent() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) InactiveNetworkAgentUUIDsOnlyVoluntary

func (n NWPath) InactiveNetworkAgentUUIDsOnlyVoluntary(voluntary bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Init

func (n NWPath) Init() NWPath

SPI: undocumented; may change or disappear between OS releases.

Init initializes the instance.

func (NWPath) InitWithPath

func (n NWPath) InitWithPath(path objectivec.IObject) NWPath

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Interface

func (n NWPath) Interface() INWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) InternalPath

func (n NWPath) InternalPath() objectivec.Object

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsConstrained

func (n NWPath) IsConstrained() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsDirect

func (n NWPath) IsDirect() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsEligibleForCrazyIvan46

func (n NWPath) IsEligibleForCrazyIvan46() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsEqualToPath

func (n NWPath) IsEqualToPath(path objectivec.IObject) bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsExpensive

func (n NWPath) IsExpensive() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsFiltered

func (n NWPath) IsFiltered() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsFlowDivert

func (n NWPath) IsFlowDivert() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsLinkQualityAbort

func (n NWPath) IsLinkQualityAbort() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsListener

func (n NWPath) IsListener() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsListenerInterfaceSpecific

func (n NWPath) IsListenerInterfaceSpecific() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsLocal

func (n NWPath) IsLocal() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsPerAppVPN

func (n NWPath) IsPerAppVPN() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsRoaming

func (n NWPath) IsRoaming() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsUltraConstrained

func (n NWPath) IsUltraConstrained() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) IsViable

func (n NWPath) IsViable() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) MaximumDatagramSize

func (n NWPath) MaximumDatagramSize() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Mtu

func (n NWPath) Mtu() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) NetworkAgentsOfType

func (n NWPath) NetworkAgentsOfType(type_ objc.Class) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) OverrideDNSSearchDomains

func (n NWPath) OverrideDNSSearchDomains() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) OverrideDNSServers

func (n NWPath) OverrideDNSServers() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) OverrideDNSServersAsStrings

func (n NWPath) OverrideDNSServersAsStrings() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Parameters

func (n NWPath) Parameters() INWParameters

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) PolicyID

func (n NWPath) PolicyID() uint32

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) PrivateDescription

func (n NWPath) PrivateDescription() string

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) ProxySettings

func (n NWPath) ProxySettings() foundation.INSArray

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Reason

func (n NWPath) Reason() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) ReasonDescription

func (n NWPath) ReasonDescription() string

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) ScopedInterface

func (n NWPath) ScopedInterface() INWInterface

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) SecondsSinceInterfaceChange

func (n NWPath) SecondsSinceInterfaceChange() uint64

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) ShouldProbeConnectivity

func (n NWPath) ShouldProbeConnectivity() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) Status

func (n NWPath) Status() int64

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) StatusAsString

func (n NWPath) StatusAsString() string

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) SupportsDNS

func (n NWPath) SupportsDNS() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) SupportsIPv4

func (n NWPath) SupportsIPv4() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) SupportsIPv6

func (n NWPath) SupportsIPv6() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately

func (n NWPath) UnsatisfiedVoluntaryAgentMatchesAddressTriggerImmediately(address objectivec.IObject) (bool, bool)

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) UsesCompanion

func (n NWPath) UsesCompanion() bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) UsesInterfaceType

func (n NWPath) UsesInterfaceType(type_ int64) bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) UsesNetworkAgent

func (n NWPath) UsesNetworkAgent(agent objectivec.IObject) bool

SPI: undocumented; may change or disappear between OS releases.

func (NWPath) UsesNetworkAgentType

func (n NWPath) UsesNetworkAgentType(type_ objc.Class) bool

SPI: undocumented; may change or disappear between OS releases.

type NWPathClass

type NWPathClass struct {
	// contains filtered or unexported fields
}

SPI: undocumented; may change or disappear between OS releases.

func GetNWPathClass

func GetNWPathClass() NWPathClass

SPI: undocumented; may change or disappear between OS releases.

GetNWPathClass returns the class object for NWPath.

func (NWPathClass) AllClientIDs

func (_NWPathClass NWPathClass) AllClientIDs() objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPathClass) Alloc

func (nc NWPathClass) Alloc() NWPath

SPI: undocumented; may change or disappear between OS releases.

Alloc allocates memory for a new instance of the class.

func (NWPathClass) Class

func (nc NWPathClass) Class() objc.Class

SPI: undocumented; may change or disappear between OS releases.

Class returns the underlying Objective-C class pointer.

func (NWPathClass) CreateStringFromStatus

func (_NWPathClass NWPathClass) CreateStringFromStatus(status int64) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPathClass) PathForClientID

func (_NWPathClass NWPathClass) PathForClientID(id objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPathClass) PathForClientIDParametersTLVPathResultTLV

func (_NWPathClass NWPathClass) PathForClientIDParametersTLVPathResultTLV(id objectivec.IObject, tlv objectivec.IObject, tlv2 objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPathClass) PathWithProtocolBufferData

func (_NWPathClass NWPathClass) PathWithProtocolBufferData(data objectivec.IObject) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

type NWPrettyDescription

type NWPrettyDescription interface {
	objectivec.IObject

	// DescriptionWithIndentShowFullContent protocol.
	DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject
}

SPI: undocumented; may change or disappear between OS releases.

NWPrettyDescription protocol.

type NWPrettyDescriptionObject

type NWPrettyDescriptionObject struct {
	objectivec.Object
}

SPI: undocumented; may change or disappear between OS releases.

NWPrettyDescriptionObject wraps an existing Objective-C object that conforms to the NWPrettyDescription protocol.

func NWPrettyDescriptionObjectFromID

func NWPrettyDescriptionObjectFromID(id objc.ID) NWPrettyDescriptionObject

SPI: undocumented; may change or disappear between OS releases.

NWPrettyDescriptionObjectFromID constructs a NWPrettyDescriptionObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (NWPrettyDescriptionObject) BaseObject

SPI: undocumented; may change or disappear between OS releases.

func (NWPrettyDescriptionObject) DescriptionWithIndentShowFullContent

func (o NWPrettyDescriptionObject) DescriptionWithIndentShowFullContent(indent int32, content bool) objectivec.IObject

SPI: undocumented; may change or disappear between OS releases.

type NWProtocolOptions added in v0.6.17

type NWProtocolOptions = publicapi.NWProtocolOptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL