okhttp / okhttp3 / OkHttpClient / Builder / dispatcher

dispatcher

fun dispatcher(dispatcher: Dispatcher): OkHttpClient.Builder

Sets the dispatcher used to set policy and execute asynchronous requests. Must not be null.