Programmatic HTTP configuration

Is it possible to configure options such as connect timeout and read timeout within the simulation code, rather than within the global configuration file / JVM options?

Something like:

val httpConf = http.baseURL(entryUrl).disableFollowRedirect.readTimeout(5000 ms).connectTimeout(1000 ms)

No