Files
EeveeSpotifyReborn/Sources/EeveeSpotify/Premium/Models/SpotifySessionDelegate.swift
2024-08-09 13:46:38 +03:00

23 lines
576 B
Swift

import Foundation
protocol SpotifySessionDelegate {
func URLSession(
_ session: URLSession,
task: URLSessionDataTask,
didCompleteWithError error: Error?
)
func URLSession(
_ session: URLSession,
dataTask task: URLSessionDataTask,
didReceiveData data: Data
)
func URLSession(
_ session: URLSession,
dataTask task: URLSessionDataTask,
didReceiveResponse response: HTTPURLResponse,
completionHandler handler: @escaping (URLSession.ResponseDisposition) -> Void
)
}