eirikb
08/29/2019, 9:59 AMHttpClient
Dominaezzz
08/29/2019, 10:05 AMeirikb
08/29/2019, 10:07 AMclient.config { install { ... }}
didn't seem to work. But passing the engine doesn't have that problem so it might be a good idea, giving it a tryengine: HttpClientEngine
, but then it won't accept Apache
because of type mismatchDominaezzz
08/29/2019, 12:10 PMApache.create {}
eirikb
08/29/2019, 12:14 PMengine : HttpClientEngine = Apache.create()
in ctor, and to create MockEngine
I can do MockEngine.create { addHandler { ... } }
and pass that in ctor. Thanks!