mirror of
https://github.com/HaishinKit/HaishinKit.swift.git
synced 2026-05-07 20:12:28 +00:00
19 lines
653 B
Swift
19 lines
653 B
Swift
import Foundation
|
|
|
|
/// A structure that represents a network transport bitRate statics.
|
|
package struct NetworkTransportReport: Sendable {
|
|
/// The statistics of outgoing queue bytes per second.
|
|
package let queueBytesOut: Int
|
|
/// The statistics of incoming bytes per second.
|
|
package let totalBytesIn: Int
|
|
/// The statistics of outgoing bytes per second.
|
|
package let totalBytesOut: Int
|
|
|
|
/// Creates a new instance.
|
|
package init(queueBytesOut: Int, totalBytesIn: Int, totalBytesOut: Int) {
|
|
self.queueBytesOut = queueBytesOut
|
|
self.totalBytesIn = totalBytesIn
|
|
self.totalBytesOut = totalBytesOut
|
|
}
|
|
}
|