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
526 B
Swift
22 lines
526 B
Swift
// Copyright © 2025 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public extension Network.SessionNetwork {
|
|
public enum Endpoint: EndpointType {
|
|
case info
|
|
case price
|
|
case token
|
|
|
|
public static var name: String { "NetworkAPI.Endpoint" }
|
|
|
|
public var path: String {
|
|
switch self {
|
|
case .info: return "info"
|
|
case .price: return "price"
|
|
case .token: return "token"
|
|
}
|
|
}
|
|
}
|
|
}
|