tunnelkit/TunnelKit/Sources/Core/TunnelInterface.swift
2018-08-23 12:10:56 +02:00

17 lines
395 B
Swift

//
// TunnelInterface.swift
// TunnelKit
//
// Created by Davide De Rosa on 8/27/17.
// Copyright © 2018 London Trust Media. All rights reserved.
//
import Foundation
/// Represents a specific I/O interface meant to work at the tunnel layer (e.g. VPN).
public protocol TunnelInterface: IOInterface {
/// When `true`, interface survives sessions.
var isPersistent: Bool { get }
}