mirror of
https://github.com/HaishinKit/HaishinKit.swift.git
synced 2026-05-07 20:12:28 +00:00
11 lines
301 B
Swift
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
|
|
}
|