Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for operations (0.35 sec)

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

      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
      private fun writeOrCountBytes(
        sink: BufferedSink?,
        countBytes: Boolean,
      ): Long {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * values must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds.
         *
         * The read timeout is applied to both the TCP socket and for individual read IO operations
         * including on [Source] of the [Response]. The default value is 10 seconds.
         *
         * @see Socket.setSoTimeout
         * @see Source.timeout
         */
        fun readTimeout(
          timeout: Long,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      // performed while holding this lock!
      //
      // Socket writes are guarded by frameWriter.
      //
      // Socket reads are unguarded but are only made by the reader thread.
      //
      // Certain operations (like SYN_STREAM) need to synchronize on both the frameWriter (to do
      // blocking I/O) and this (to create streams). Such operations must synchronize on 'this' last.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val referer: String? by option("-e", "--referer", help = "Referer URL")
    
      val verbose: Boolean by option("-v", "--verbose", help = "Makes $NAME verbose during the operation").flag()
    
      val sslDebug: Boolean by option(help = "Output SSL Debug").flag()
    
      val url: String? by argument(name = "url", help = "Remote resource URL")
    
      var client: Call.Factory? = null
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/Dns.kt

       */
      @Throws(UnknownHostException::class)
      fun lookup(hostname: String): List<InetAddress>
    
      companion object {
        /**
         * A DNS that uses [InetAddress.getAllByName] to ask the underlying operating system to
         * lookup IP addresses. Most custom [Dns] implementations should delegate to this instance.
         */
        @JvmField
        val SYSTEM: Dns = DnsSystem()
    
        private class DnsSystem : Dns {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. docs/features/events.md

            return new MetricsEventListener(call);
          } else {
            return EventListener.NONE;
          }
        }
      };
    
      ...
    }
    ```
    
    ### Events with Failures
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      /**
       * Either writes this request to [sink] or measures its content length. We have one method do
       * double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
      @Throws(IOException::class)
      private fun writeOrCountBytes(
        sink: BufferedSink?,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

    compression features. We strive to offer great performance in our default configuration and so we're
    making compression the default for everyone starting with this release candidate.
    
    Please be considerate of your servers and their operators as you roll out this release. Compression
    saves bandwidth but it costs CPU and memory! If you run into a problem you may need to adjust or
    disable the `permessage-deflate` compression settings on your server.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/EventListener.kt

         *
         * This method is invoked after [call] is created. See [OkHttpClient.newCall].
         *
         * **It is an error for implementations to issue any mutating operations on the [call] instance
         * from this method.**
         */
        fun create(call: Call): EventListener
      }
    
      companion object {
        @JvmField
        val NONE: EventListener =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *
       *   o READ lines track accesses for LRU.
       *
       *   o REMOVE lines track entries that have been deleted.
       *
       * The journal file is appended to as cache operations occur. The journal may occasionally be
       * compacted by dropping redundant lines. A temporary file named "journal.tmp" will be used during
       * compaction; that file should be deleted if it exists when the cache is opened.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
Back to top