Files
HaishinKit.swift/HaishinKit/Sources/Network/NetworkConnection.swift
2025-08-01 17:15:41 +09:00

11 lines
301 B
Swift

import Foundation
/// The interface is the foundation of the RTMPConnection.
public protocol NetworkConnection: Actor {
/// The instance connected to server(true) or not(false).
var connected: Bool { get async }
/// Closes the connection from the server.
func close() async throws
}