URLSessionProtocol

PROTOCOL

URLSessionProtocol

public protocol URLSessionProtocol

Methods

httpDataTask(with:completionHandler:)

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