URLSession

EXTENSION

URLSession

extension URLSession: URLSessionProtocol

Methods

httpDataTask(with:completionHandler:)

public func httpDataTask(with request: URLRequest, completionHandler: @escaping DataTaskResult) -> URLSessionDataTaskProtocol