Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Basic (0.13 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

           * Logs request and response lines.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
           * <-- 200 OK (22ms, 6-byte body)
           * ```
           */
          BASIC,
    
          /**
           * Logs request and response lines and their respective headers.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1
           * Host: example.com
    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)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        url = server.url("/api/login?user=test_user&authentication=basic&password=confidential_password")
        val networkInterceptor =
          HttpLoggingInterceptor(networkLogs).setLevel(
            Level.BASIC,
          )
        networkInterceptor.redactQueryParams("user", "passWord")
    
        val applicationInterceptor =
          HttpLoggingInterceptor(applicationLogs).setLevel(
            Level.BASIC,
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        interceptor.level = HttpLoggingInterceptor.Level.BASIC
        var level: HttpLoggingInterceptor.Level = interceptor.level
        interceptor.intercept(newInterceptorChain())
      }
    
      @Test
      fun httpLoggingInterceptorLevel() {
        val none: HttpLoggingInterceptor.Level = HttpLoggingInterceptor.Level.NONE
        val basic: HttpLoggingInterceptor.Level = HttpLoggingInterceptor.Level.BASIC
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
Back to top