Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createFormData (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

            return Part(headers, body)
          }
    
          @JvmStatic
          fun createFormData(
            name: String,
            value: String,
          ): Part = createFormData(name, null, value.toRequestBody())
    
          @JvmStatic
          fun createFormData(
            name: String,
            filename: String?,
            body: RequestBody,
          ): Part {
            val disposition =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        part = MultipartBody.Part.create(headersOf(), requestBody)
        part = MultipartBody.Part.create(requestBody)
        part = MultipartBody.Part.createFormData("", "")
        part = MultipartBody.Part.createFormData("", "", requestBody)
        part = MultipartBody.Part.createFormData("", null, requestBody)
        val headers: Headers? = part.headers
        val body: RequestBody = part.body
      }
    
      @Test
      fun multipartBodyBuilder() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    	public static final fun create (Lokhttp3/RequestBody;)Lokhttp3/MultipartBody$Part;
    	public static final fun createFormData (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/MultipartBody$Part;
    	public static final fun createFormData (Ljava/lang/String;Ljava/lang/String;Lokhttp3/RequestBody;)Lokhttp3/MultipartBody$Part;
    	public final fun headers ()Lokhttp3/Headers;
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top