api

http4k / org.http4k.client / PreCannedOkHttpClients

PreCannedOkHttpClients

object PreCannedOkHttpClients

Functions

Name Summary
defaultOkHttpClient Standard non-redirecting clientfun defaultOkHttpClient(): OkHttpClient
insecureOkHttpClient Do not use this in production! This is useful for testing locally and debugging HTTPS trafficfun insecureOkHttpClient(): OkHttpClient