Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Benone (0.23 sec)

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

        maxIdleConnections: Int = 5,
        keepAliveDuration: Long = 5,
        timeUnit: TimeUnit = TimeUnit.MINUTES,
        taskRunner: TaskRunner = TaskRunner.INSTANCE,
        connectionListener: ConnectionListener = ConnectionListener.NONE,
        readTimeoutMillis: Int = 10_000,
        writeTimeoutMillis: Int = 10_000,
        socketConnectTimeoutMillis: Int = 10_000,
        socketReadTimeoutMillis: Int = 10_000,
        pingIntervalMillis: Int = 10_000,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        @Volatile private var queryParamsNameToRedact = emptySet<String>()
    
        @set:JvmName("level")
        @Volatile
        var level = Level.NONE
    
        enum class Level {
          /** No logs. */
          NONE,
    
          /**
           * Logs request and response lines.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        val source = this.source!!
        val sink = this.sink!!
        socket.soTimeout = 0 // HTTP/2 connection timeouts are set per-stream.
        val flowControlListener = connectionListener as? FlowControlListener ?: FlowControlListener.None
        val http2Connection =
          Http2Connection.Builder(client = true, taskRunner)
            .socket(socket, route.address.url.host, source, sink)
            .listener(this)
            .pingIntervalMillis(pingIntervalMillis)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

        route: Route?,
        response: Response,
      ): Request?
    
      companion object {
        /** An authenticator that knows no credentials and makes no attempt to authenticate. */
        @JvmField
        val NONE: Authenticator = AuthenticatorNone()
    
        private class AuthenticatorNone : Authenticator {
          override fun authenticate(
            route: Route?,
            response: Response,
          ): Request? = null
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. docs/features/events.md

        @Override public EventListener create(Call call) {
          if (Math.random() < 0.10) {
            return new MetricsEventListener(call);
          } else {
            return EventListener.NONE;
          }
        }
      };
    
      ...
    }
    ```
    
    ### Events with Failures
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            .build(),
        )
        val response = getResponse(newRequest("/"))
        assertThat(response.code).isEqualTo(200)
        assertThat(response.message).isEqualTo("OK")
        assertContent(
          "STR;FFMJ2;Frankfurt;RTCM 2.1;1(1),3(19),16(59);0;GPS;GREF;DEU;50.12;8.68;0;1;GPSNet V2.10;none;N;N;560;Demo\nENDSOURCETABLE",
          response,
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

      const val TYPE_SETTINGS = 0x4
      const val TYPE_PUSH_PROMISE = 0x5
      const val TYPE_PING = 0x6
      const val TYPE_GOAWAY = 0x7
      const val TYPE_WINDOW_UPDATE = 0x8
      const val TYPE_CONTINUATION = 0x9
    
      const val FLAG_NONE = 0x0
      const val FLAG_ACK = 0x1 // Used for settings and ping.
      const val FLAG_END_STREAM = 0x1 // Used for headers and data.
      const val FLAG_END_HEADERS = 0x4 // Used for headers and continuation.
    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 (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(get(url).body.string()).isEqualTo("B")
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
        assertThat(server.takeRequest().headers["If-None-Match"]).isEqualTo("v1")
        assertThat(server.takeRequest().headers["If-None-Match"]).isEqualTo("v1")
        assertThat(server.takeRequest().headers["If-None-Match"]).isEqualTo("v2")
      }
    
      @Test
      fun combinedCacheHeadersCanBeNonAscii() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          // will not be transmitted.
          val conditionName: String
          val conditionValue: String?
          when {
            etag != null -> {
              conditionName = "If-None-Match"
              conditionValue = etag
            }
    
            lastModified != null -> {
              conditionName = "If-Modified-Since"
              conditionValue = lastModifiedString
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          field = value
        }
    
      private var serverSocket: ServerSocket? = null
      private var sslSocketFactory: SSLSocketFactory? = null
      private var clientAuth = CLIENT_AUTH_NONE
    
      /**
       * The dispatcher used to respond to HTTP requests. The default dispatcher is a [QueueDispatcher],
       * which serves a fixed sequence of responses from a [queue][enqueue].
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
Back to top