Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Release (0.14 sec)

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

     * Response response = eagerClient.newCall(request).execute();
     * ```
     *
     * ## Shutdown Isn't Necessary
     *
     * The threads and connections that are held will be released automatically if they remain idle. But
     * if you are writing a application that needs to aggressively release unused resources you may do
     * so.
     *
     * Shutdown the dispatcher's executor service with [shutdown()][ExecutorService.shutdown]. This will
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        server.enqueue(
          MockResponse(
            code = HttpURLConnection.HTTP_UNAUTHORIZED,
            headers = headersOf("www-authenticate", "Basic realm=\"protected area\""),
            body = "Please authenticate.",
          ),
        )
        server.enqueue(
          MockResponse(body = "Successful auth!"),
        )
        val credential = basic("username", "password")
        client =
          client.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top