Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for commonPut (0.15 sec)

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

      }
    }
    
    fun Request.Builder.commonGet(): Request.Builder = method("GET", null)
    
    fun Request.Builder.commonHead(): Request.Builder = method("HEAD", null)
    
    fun Request.Builder.commonPost(body: RequestBody): Request.Builder = method("POST", body)
    
    fun Request.Builder.commonDelete(body: RequestBody?): Request.Builder = method("DELETE", body)
    
    fun Request.Builder.commonPut(body: RequestBody): Request.Builder = method("PUT", body)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Request.kt

    import okhttp3.internal.commonEmptyRequestBody
    import okhttp3.internal.commonGet
    import okhttp3.internal.commonHead
    import okhttp3.internal.commonHeader
    import okhttp3.internal.commonHeaders
    import okhttp3.internal.commonMethod
    import okhttp3.internal.commonPatch
    import okhttp3.internal.commonPost
    import okhttp3.internal.commonPut
    import okhttp3.internal.commonRemoveHeader
    import okhttp3.internal.commonTag
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Headers.kt

    import okhttp3.internal.commonEquals
    import okhttp3.internal.commonGet
    import okhttp3.internal.commonHashCode
    import okhttp3.internal.commonHeadersGet
    import okhttp3.internal.commonHeadersOf
    import okhttp3.internal.commonIterator
    import okhttp3.internal.commonName
    import okhttp3.internal.commonNewBuilder
    import okhttp3.internal.commonRemoveAll
    import okhttp3.internal.commonSet
    import okhttp3.internal.commonToHeaders
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

     * found, the existing values are replaced.
     */
    internal fun Headers.Builder.commonSet(
      name: String,
      value: String,
    ) = apply {
      headersCheckName(name)
      headersCheckValue(value, name)
      removeAll(name)
      commonAddLenient(name, value)
    }
    
    /** Equivalent to `build().get(name)`, but potentially faster. */
    internal fun Headers.Builder.commonGet(name: String): String? {
      for (i in namesAndValues.size - 2 downTo 0 step 2) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import javax.net.ssl.TrustManager
    import javax.net.ssl.X509TrustManager
    import okhttp3.Call
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.curl.internal.commonCreateRequest
    import okhttp3.curl.internal.commonRun
    import okhttp3.curl.logging.LoggingUtil
    import okhttp3.internal.platform.Platform
    import okhttp3.logging.HttpLoggingInterceptor
    import okhttp3.logging.LoggingEventListener
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  6. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    private fun isSpecialHeader(s: String): Boolean {
      return s.equals("Content-Type", ignoreCase = true)
    }
    
    fun Main.commonRun() {
      client = createClient()
      val request = createRequest()
    
      try {
        val response = client!!.newCall(request).execute()
        if (showHeaders) {
          println(StatusLine.get(response))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. okhttp-android/src/main/baseline-prof.txt

    Lkotlinx/coroutines/EventLoopImplBase$DelayedTask;
    Lkotlinx/coroutines/EventLoopImplBase$DelayedTaskQueue;
    Lkotlinx/coroutines/EventLoopImplBase;
    Lkotlinx/coroutines/EventLoopImplPlatform;
    Lkotlinx/coroutines/EventLoop_commonKt;
    Lkotlinx/coroutines/ExecutorCoroutineDispatcher;
    Lkotlinx/coroutines/InactiveNodeList;
    Lkotlinx/coroutines/Incomplete;
    Lkotlinx/coroutines/IncompleteStateBox;
    Lkotlinx/coroutines/InvokeOnCancel;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
Back to top