@@ -15,7 +15,11 @@ import org.http4s.client.Client
1515import org .typelevel .log4cats .Logger
1616
1717object Http4sHttpClient {
18- def of [F [_]: {MonadThrow as F , Http4sHttpBackend as B , Logger as L }, S ](uri : Uri , name : String = " " , headers : Headers = Headers .empty): F [Http4sHttpClient [F , S ]] = {
18+ def of [F [_]: {MonadThrow as F , Http4sHttpBackend as B , Logger as L }, S ](
19+ uri : Uri ,
20+ name : String = " " ,
21+ headers : Headers = Headers .empty
22+ ): F [Http4sHttpClient [F , S ]] = {
1923 val logPrefix = s " clue.FetchClientWithPars[ ${if (name.isEmpty) uri else name}] "
2024
2125 val internalLogger = L .withModifiedString(s => s " $logPrefix $s" )
@@ -26,9 +30,9 @@ object Http4sHttpClient {
2630 }
2731
2832 def of [F [_]: {Concurrent as F , Logger as L }, S ](
29- uri : Uri ,
30- client : Client [F ],
31- name : String ,
33+ uri : Uri ,
34+ client : Client [F ],
35+ name : String ,
3236 headers : Headers
3337 ): F [Http4sHttpClient [F , S ]] = {
3438 val logPrefix = s " clue.FetchClientWithPars[ ${if (name.isEmpty) uri else name}] "
@@ -45,7 +49,11 @@ object Http4sHttpClient {
4549 def of [F [_]: Concurrent : Logger , S ](uri : Uri , client : Client [F ]): F [Http4sHttpClient [F , S ]] =
4650 of[F , S ](uri, client, " " , Headers .empty)
4751
48- def of [F [_]: Concurrent : Logger , S ](uri : Uri , client : Client [F ], name : String ): F [Http4sHttpClient [F , S ]] =
52+ def of [F [_]: Concurrent : Logger , S ](
53+ uri : Uri ,
54+ client : Client [F ],
55+ name : String
56+ ): F [Http4sHttpClient [F , S ]] =
4957 of[F , S ](uri, client, name, Headers .empty)
5058
5159}
0 commit comments