receiveTime
TypeScriptget receiveTime(): numberSwift declarationvar receiveTime: UInt64 { get }The time at which a packet was received, in nanoseconds. Equivalent to timestamps returned by CLOCK_MONOTONIC_RAW.
class · iOS 12.0+ · SDK 27.1
class MetadataIP Metadata can be sent or received as part of ContentContext
get receiveTime(): numberSwift declarationvar receiveTime: UInt64 { get }The time at which a packet was received, in nanoseconds. Equivalent to timestamps returned by CLOCK_MONOTONIC_RAW.
get serviceClass(): NWParameters_ServiceClassSwift declarationvar serviceClass: NWParameters.ServiceClass { get set }Set the network service class to be sent on a packet. The per-packet service class will not take effect for protocols such as TCP that deliver data without accounting for packet boundaries. If you need to set service class for TCP, use the serviceClass property of NWParameters.
set serviceClass(value: NWParameters_ServiceClass)Swift declarationvar serviceClass: NWParameters.ServiceClass { get set }Set the network service class to be sent on a packet. The per-packet service class will not take effect for protocols such as TCP that deliver data without accounting for packet boundaries. If you need to set service class for TCP, use the serviceClass property of NWParameters.
serviceClass28776(serviceClass: NWParameters_ServiceClass): NWProtocolIP_MetadataSwift declarationfunc serviceClass(_ serviceClass: NWParameters.ServiceClass) -> Selfget ecn(): NWProtocolIP_ECNSwift declarationvar ecn: NWProtocolIP.ECN { get set }Set ECN flags to be sent on a packet, or get ECN flags received on a packet. These flags will not take effect for protocols such as TCP that deliver data without accounting for packet boundaries.
set ecn(value: NWProtocolIP_ECN)Swift declarationvar ecn: NWProtocolIP.ECN { get set }Set ECN flags to be sent on a packet, or get ECN flags received on a packet. These flags will not take effect for protocols such as TCP that deliver data without accounting for packet boundaries.
ecn61475(ecn: NWProtocolIP_ECN): NWProtocolIP_MetadataSwift declarationfunc ecn(_ ecn: NWProtocolIP.ECN) -> Selfstatic init(): NWProtocolIP_MetadataSwift declarationinit()Create an empty IP metadata to send with ContentContext
No declarations were skipped in this snapshot.