WriteFreely Documentation Beta

Protocol URLSession​Data​Task​Protocol

public protocol URLSessionDataTaskProtocol 

Define requirements for URLSessionDataTasks here for dependency-injection purposes (specifically, for testing).

Requirements

resume()

func resume()