setUserDefined

open fun setUserDefined(@NonNull custom: HttpServiceInterface)

Replaces the implementation of the HTTP service with a custom one. If a default implementation has been created or previous a user defined implementation has been set already, it will be replaced. The factory maintains a strong reference to the provided implementation which can be released with the reset() method.