Am lost using URLSessionDelegate within SwiftUI

Trying to create an app in SwiftUI that uses HTTP for "gets", "posts", "forms", et al.

I cannot assign URLSessionDataDelegate,URLSessionTaskDelegate, URLSessionDelegate to a SwiftUI view. So my assumption is that I need to create a UIViewControllerRepresentable for a regular UIViewController and assign the delegates to that UIViewController

I just need to know if this is the correct path to proceed with? Or is there some sort ion tie in that I cannot find using Google?

Thank you

Am lost using URLSessionDelegate within SwiftUI
 
 
Q