SessionStats

struct SessionStats

Statistics for this or all sessions.

  • Bytes received this period.

    Declaration

    Swift

    var bytesReceived: Int64
  • Bytes sent this period.

    Declaration

    Swift

    var bytesSent: Int64
  • encrypted bytes received this period @since 9.5

    Declaration

    Swift

    var encryptedBytesReceived: Int64
  • encrypted bytes sent this period @since 9.5

    Declaration

    Swift

    var encryptedBytesSent: Int64
  • maximum download speed this period, megabits per second @since 9.5

    Declaration

    Swift

    var maxDownloadSpeed: Double
  • maximum upload speed this period, megabits per second @since 9.5

    Declaration

    Swift

    var maxUploadSpeed: Double
  • Days since first connection.

    Declaration

    Swift

    var daysSinceFirst: Int
  • Extra download bandwidth achieved.

    Declaration

    Swift

    var mbpsDownBenefit: Int64
  • Extra upload bandwidth achieved.

    Declaration

    Swift

    var mbpsUpBenefit: Int64
  • Connection failovers this period.

    Declaration

    Swift

    var numFailovers: Int64
  • Total number of sessions this period.

    Declaration

    Swift

    var numSessions: Int64
  • Bytes retransmitted this period.

    Declaration

    Swift

    var retransBytes: Int64
  • start time of this period, in seconds since epoch @since 9.5

    Declaration

    Swift

    var periodStartTime: Int64
  • Minutes connected this period.

    Declaration

    Swift

    var totalConnectedMinutes: Int64
  • \brief Contains stats regarding the TUN this period.

    • @since 8.0

    Declaration

    Swift

    var tunStats: TunStats
  • \brief Contains stats regarding the packet handler this period.

    • @since 8.0

    Declaration

    Swift

    var handlerStats: HandlerStats
  • Contains stats regarding captive portals this period @since 9.5

    Declaration

    Swift

    var captivePortalStats: CaptivePortalStats