Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor client into algebra #2102
Note that almost every middleware is expressed in terms of
client.run on the wrapped client. That means that even if we do override a method for efficiency, the override will be lost as soon as it's wrapped. This may be an argument for the original
final class Client[F](run: Request => F[Response[F]]) encoding.