Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for part2 (0.23 sec)

  1. docs/changelogs/changelog_4x.md

        ```kotlin
        val response: Response = call.execute()
        val multipartReader = MultipartReader(response.body!!)
    
        multipartReader.use {
          while (true) {
            val part = multipartReader.nextPart() ?: break
            process(part.headers, part.body)
          }
        }
        ```
    
     *  New: `MediaType.parameter()` gets a parameter like `boundary` from a media type like
        `multipart/mixed; boundary="abc"`.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

       *
       * A push promise contains all the headers that pertain to a server-initiated request, and a
       * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent as
       * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than
       * `streamId`.
       *
       * @param streamId client-initiated stream ID.  Must be an odd number.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

              val result = queueDispatcher.dispatch(request)
              requestCount++
              if (requestCount == 1) {
                // Before handling call1's CONNECT we do all of call2. This part re-entrant!
                try {
                  val call2 =
                    client.newCall(
                      Request.Builder()
                        .url("https://android.com/call2")
                        .build(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val requestBody: RequestBody = "".toRequestBody(null)
        var part: MultipartBody.Part = MultipartBody.Part.create(null, requestBody)
        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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  5. okhttp/api/okhttp.api

    	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;
    }
    
    public final class okhttp3/MultipartBody$Part$Companion {
    	public final fun create (Lokhttp3/Headers;Lokhttp3/RequestBody;)Lokhttp3/MultipartBody$Part;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top