apply

open fun apply(o: BaseRequestOptions<out Any>): T

Updates this options set with any options that are explicitly set in the given T object and returns this object if autoClone is disabled or a new T object if autoClone is enabled.

#apply only replaces those values that are explicitly set in the given T. If you need to completely reset all previously set options, create a new T object instead of using this method.

The options that will be set to values in the returned T object is the intersection of the set of options in this T object and the given T object that were explicitly set. If the values of any of the options conflict, the values in the returned T object will be set to those in the given T object.