NetworkStats
public struct NetworkStats
Provides network statistics in bytes per method.
-
Number of bytes sent over the network.
Declaration
Swift
public var sentBytes: UInt64 -
Number of bytes received from the network.
Declaration
Swift
public var receivedBytes: UInt64 -
Name or description of the method being called.
Declaration
Swift
public var methodCall: String -
Amount of calls for particular family of methodCall. methodCall in this case is considered as base request, additional query params are ignored, all calculated as one request. e.g. https://search.hereapi.com/someparams and https://search.hereapi.com/someparams2 will be considered as 1 methodCall, and requestCounter is 2.
Declaration
Swift
public var requestCounter: UInt32 -
Creates a new instance.
Declaration
Swift
public init(sentBytes: UInt64, receivedBytes: UInt64, methodCall: String, requestCounter: UInt32)