padfoot27 padfoot27 - 1 month ago 24
Android Question

OkHttp newBuilder()

What does the function newBuilder() exactly does in OkHttp. Does it create an entirely new client or adjusts the existing client as given here. What exactly 'adjusts' means in this case?

Answer

It creates a shallow copy, so you can change some configuration while leaving everything else the same.

Comments