URLSession

class URLSession : NSObject
  • Undocumented

    Declaration

    Swift

    func synchronousDataTask(with url: URL) -> (Data?, URLResponse?, Error?)
  • Undocumented

    Declaration

    Swift

    func mockSynchronousDataTask(with url: URL, and emailAddress: String?) -> (Data?, URLResponse?, Error?)