Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for requestHeadersStart (0.26 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        connection: Connection,
      ) {
        logWithTime("connectionReleased")
    
        delegate.connectionReleased(call, connection)
      }
    
      override fun requestHeadersStart(call: Call) {
        logWithTime("requestHeadersStart")
    
        delegate.requestHeadersStart(call)
      }
    
      override fun requestHeadersEnd(
        call: Call,
        request: Request,
      ) {
        logWithTime("requestHeadersEnd")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

      ) : CallEvent()
    
      data class RequestHeadersStart(
        override val timestampNs: Long,
        override val call: Call,
      ) : CallEvent()
    
      data class RequestHeadersEnd(
        override val timestampNs: Long,
        override val call: Call,
        val headerLength: Long,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean = event is RequestHeadersStart && call == event.call
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * [Call.request] is a redirect to a different address.
       */
      open fun requestHeadersStart(call: Call) {
      }
    
      /**
       * Invoked immediately after sending request headers.
       *
       * This method is always invoked after [requestHeadersStart].
       *
       * @param request the request sent over the network. It is an error to access the body of this
       *     request.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

          expectedEvents += "SecureConnectStart"
          expectedEvents += "SecureConnectEnd"
        }
        expectedEvents += "ConnectEnd"
        expectedEvents += "ConnectionAcquired"
        expectedEvents += "RequestHeadersStart"
        expectedEvents += "RequestHeadersEnd"
        expectedEvents += "RequestBodyStart"
        // ... but we can read the response even after writing the request fails.
        expectedEvents += "RequestFailed"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

      ) = logEvent(ConnectionReleased(System.nanoTime(), call, connection))
    
      override fun callStart(call: Call) = logEvent(CallStart(System.nanoTime(), call))
    
      override fun requestHeadersStart(call: Call) = logEvent(RequestHeadersStart(System.nanoTime(), call))
    
      override fun requestHeadersEnd(
        call: Call,
        request: Request,
      ) = logEvent(RequestHeadersEnd(System.nanoTime(), call, request.headers.byteCount()))
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9K bytes
    - Viewed (1)
  7. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

      }
    
      override fun connectionReleased(
        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionReleased")
      }
    
      override fun requestHeadersStart(call: Call) {
        logWithTime("requestHeadersStart")
      }
    
      override fun requestHeadersEnd(
        call: Call,
        request: Request,
      ) {
        logWithTime("requestHeadersEnd")
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            Regex(
              """connectionAcquired: Connection\{${url.host}:\d+, proxy=DIRECT hostAddress=${url.host}/.+ cipherSuite=none protocol=http/1\.1\}""",
            ),
          )
          .assertLogMatch(Regex("""requestHeadersStart"""))
          .assertLogMatch(Regex("""requestHeadersEnd"""))
          .assertLogMatch(Regex("""responseHeadersStart"""))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/DuplexTest.kt

    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/api/logging-interceptor.api

    	public fun requestBodyStart (Lokhttp3/Call;)V
    	public fun requestFailed (Lokhttp3/Call;Ljava/io/IOException;)V
    	public fun requestHeadersEnd (Lokhttp3/Call;Lokhttp3/Request;)V
    	public fun requestHeadersStart (Lokhttp3/Call;)V
    	public fun responseBodyEnd (Lokhttp3/Call;J)V
    	public fun responseBodyStart (Lokhttp3/Call;)V
    	public fun responseFailed (Lokhttp3/Call;Ljava/io/IOException;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 4.5K bytes
    - Viewed (1)
Back to top