//okhttp/okhttp3/Headers/Builder/set
set¶
[jvm]\ operator fun set(name: String, value: Date): Headers.Builder
Set a field with the specified date. If the field is not found, it is added. If the field is found, the existing values are replaced.
[jvm]\
@IgnoreJRERequirement
operator fun set(name: String, value: Instant): Headers.Builder
Set a field with the specified instant. If the field is not found, it is added. If the field is found, the existing values are replaced.
[common, jvm, nonJvm]\ [common]\ expect operator fun set(name: String, value: String): Headers.Builder
[jvm, nonJvm]\ actual operator fun set(name: String, value: String): Headers.Builder
Set a field with the specified value. If the field is not found, it is added. If the field is found, the existing values are replaced.