Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for toRequestBody (0.18 sec)

  1. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

          }
        requestBody = "".toRequestBody(null)
        requestBody = "".toRequestBody("".toMediaTypeOrNull())
        requestBody = ByteString.EMPTY.toRequestBody(null)
        requestBody = ByteString.EMPTY.toRequestBody("".toMediaTypeOrNull())
        requestBody = byteArrayOf(0, 1).toRequestBody(null, 0, 2)
        requestBody = byteArrayOf(0, 1).toRequestBody("".toMediaTypeOrNull(), 0, 2)
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-04-01 14:21
    - 46.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

    import okhttp3.Credentials.basic
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.TestUtil.assumeNotWindows
    import okhttp3.TestUtil.awaitGarbageCollection
    import okhttp3.internal.DoubleInetAddressDns
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-04-10 19:46
    - 142.5K bytes
    - Viewed (2)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.RecordingHostnameVerifier
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.RequestBody.Companion.gzip
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.logging.HttpLoggingInterceptor.Level
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.BufferedSink
    import okio.ByteString.Companion.decodeBase64
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-04-06 09:14
    - 37.6K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

    import okhttp3.HttpUrl
    import okhttp3.MediaType
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.Response
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.publicsuffix.PublicSuffixDatabase
    
    /**
     * [DNS over HTTPS implementation][doh_spec].
     *
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-03-22 07:09
    - 9.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import okhttp3.Headers
    import okhttp3.RequestBody
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.ResponseBody
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.ArrayIndexOutOfBoundsException
    import okio.Buffer
    import okio.BufferedSink
    import okio.BufferedSource
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-05-13 13:42
    - 11K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

    import mockwebserver3.junit5.internal.MockWebServerInstance
    import okhttp3.Cache.Companion.key
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.internal.addHeaderLenient
    import okhttp3.internal.cacheGet
    import okhttp3.internal.platform.Platform.Companion.get
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import okhttp3.testing.PlatformRule
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-04-10 19:46
    - 108.6K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_4x.md

        import this and we want to ease upgrades for their users.
    
    
    ## Version 4.0.0-RC2
    
    _2019-06-21_
    
     *  New: Require Kotlin 1.3.40.
     *  New: Change the Kotlin API from `File.toRequestBody()` to `File.asRequestBody()` and
        `BufferedSource.toResponseBody()` to `BufferedSource.asResponseBody()`. If the returned value
        is a view of what created it, we use _as_.
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-04-17 13:25
    - 25.2K bytes
    - Viewed (0)
  8. CHANGELOG.md

     *  New: Use TLSv1.3 when running on JDK 8u261 or newer.
     *  New: `QueueDispatcher.clear()` may be used to reset a MockWebServer instance.
     *  New: `FileDescriptor.toRequestBody()` may be particularly useful for users of Android's Storage
        Access Framework.
     *  Upgrade: [Kotlin 1.5.31][kotlin_1_5_31].
     *  Upgrade: [Okio 3.0.0][okio_3_0_0].
    
    
    ## Version 5.0.0-alpha.2
    
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-04-18 01:31
    - 21.4K bytes
    - Viewed (0)
Back to top