Files
HaishinKit.swift/HaishinKit/Sources/Session/StreamSessionFactory.swift
T
2026-02-11 17:51:48 +09:00

11 lines
356 B
Swift

import Foundation
/// A type that represents a streaming session factory.
public protocol StreamSessionFactory {
/// The supported protocols.
var supportedProtocols: Set<String> { get }
/// Makes a new session by uri.
func make(_ uri: URL, mode: StreamSessionMode, configuration: (any StreamSessionConfiguration)?) -> any StreamSession
}