mirror of
https://github.com/lux-tel/session-ios.git
synced 2026-10-30 20:38:32 +00:00
# Conflicts: # Session.xcodeproj/project.pbxproj # SessionUtilitiesKit/Configuration.swift
22 lines
674 B
Swift
22 lines
674 B
Swift
// Copyright © 2025 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public extension Network.SessionNetwork {
|
|
struct Info: Codable, Equatable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case timestamp = "t"
|
|
case statusCode = "status_code"
|
|
case price
|
|
case token
|
|
case network
|
|
}
|
|
|
|
public let timestamp: Int64? // Request timestamp. (seconds)
|
|
public let statusCode: Int? // Status code of the request.
|
|
public let price: Price?
|
|
public let token: Token?
|
|
public let network: NetworkInfo?
|
|
}
|
|
}
|