- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for formBody (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
} @Test fun formBody() { val formBody: FormBody = FormBody.Builder().build() val size: Int = formBody.size val encodedName: String = formBody.encodedName(0) val name: String = formBody.name(0) val encodedValue: String = formBody.encodedValue(0) val value: String = formBody.value(0) val contentType: MediaType = formBody.contentType()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 47K bytes - Viewed (0) -
docs/recipes.md
Use `FormBody.Builder` to build a request body that works like an HTML `<form>` tag. Names and values will be encoded using an HTML-compatible form URL encoding. === ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() fun run() { val formBody = FormBody.Builder() .add("search", "Jurassic Park")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
} public final class okhttp3/FormBody$Builder { public fun <init> ()V public fun <init> (Ljava/nio/charset/Charset;)V public synthetic fun <init> (Ljava/nio/charset/Charset;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun add (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/FormBody$Builder; public final fun addEncoded (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/FormBody$Builder;Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.2K bytes - Viewed (0) -
okhttp/api/android/okhttp.api
} public final class okhttp3/FormBody$Builder { public fun <init> ()V public fun <init> (Ljava/nio/charset/Charset;)V public synthetic fun <init> (Ljava/nio/charset/Charset;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun add (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/FormBody$Builder; public final fun addEncoded (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/FormBody$Builder;Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.3K bytes - Viewed (0) -
CHANGELOG.md
concurrently close an SSL socket. This would have appeared in crash logs as `NullPointerException: bio == null`. * Fix: Use plus `+` instead of `%20` to encode space characters in `FormBody`. This was a longstanding bug in OkHttp. The fix makes OkHttp consistent with major web browsers. * Fix: Don't crash if Conscrypt returns a null version.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 05 16:02:59 UTC 2025 - 36.2K bytes - Viewed (2)