Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for commonIsOneShot (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt

        }
      }
    }
    
    @Suppress("unused")
    fun RequestBody.commonContentLength(): Long = -1L
    
    @Suppress("unused")
    fun RequestBody.commonIsDuplex(): Boolean = false
    
    @Suppress("unused")
    fun RequestBody.commonIsOneShot(): Boolean = false
    
    /** Returns a new request body that transmits this. */
    fun ByteString.commonToRequestBody(contentType: MediaType?): RequestBody {
      return object : RequestBody() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

    import java.io.FileInputStream
    import java.io.IOException
    import okhttp3.internal.chooseCharset
    import okhttp3.internal.commonContentLength
    import okhttp3.internal.commonIsDuplex
    import okhttp3.internal.commonIsOneShot
    import okhttp3.internal.commonToRequestBody
    import okio.BufferedSink
    import okio.ByteString
    import okio.FileSystem
    import okio.GzipSink
    import okio.Path
    import okio.buffer
    import okio.source
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top