URLSession

extension URLSession: URLSessionProvider
  • Undocumented

    Declaration

    Swift

    public func send(urlRequest request: URLRequest) -> AnyPublisher<URLSession.DataTaskPublisher.Output, URLSession.DataTaskPublisher.Failure>
  • Undocumented

    Declaration

    Swift

    public func send(urlRequest request: URLRequest, completion: @escaping (Data?, URLResponse?, Error?) -> Void)
  • send(urlRequest:) Asynchronous

    Undocumented

    Declaration

    Swift

    public func send(urlRequest request: URLRequest) async throws -> (Data, URLResponse)