TYPEALIAS
URLSessionClient.Completion
public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
A completion block returning a result. On
.success
it will contain a tuple with non-nilData
and its correspondingHTTPURLResponse
. On.failure
it will contain an error.