Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 44 of 44 for onResponse (0.05 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    import mockwebserver3.SocketPolicy.DoNotReadRequestBody
    import mockwebserver3.SocketPolicy.FailHandshake
    import mockwebserver3.SocketPolicy.HalfCloseAfterRequest
    import mockwebserver3.SocketPolicy.NoResponse
    import mockwebserver3.SocketPolicy.ResetStreamAtStart
    import mockwebserver3.SocketPolicy.ShutdownInputAtEnd
    import mockwebserver3.SocketPolicy.ShutdownOutputAtEnd
    import mockwebserver3.SocketPolicy.ShutdownServerAfterResponse
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        val enRequest =
          Request.Builder()
            .url(url)
            .header("Accept-Language", "en-US")
            .build()
        val enResponse = client.newCall(enRequest).execute()
        assertThat(enResponse.body.string()).isEqualTo("B")
      }
    
      @Test
      fun varyMatchesUnchangedRequestHeaderField() {
        server.enqueue(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.RecordedRequest
    import mockwebserver3.SocketPolicy
    import mockwebserver3.SocketPolicy.KeepOpen
    import mockwebserver3.SocketPolicy.NoResponse
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.RecordingEventListener
    import okhttp3.RecordingHostnameVerifier
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    			return
    		}
    	}
    }
    
    func (c *Connection) handleMsg(ctx context.Context, m message, subID *subHandlerID) {
    	switch m.Op {
    	case OpMuxServerMsg:
    		c.handleMuxServerMsg(ctx, m)
    	case OpResponse:
    		c.handleResponse(m)
    	case OpMuxClientMsg:
    		c.handleMuxClientMsg(ctx, m)
    	case OpUnblockSrvMux:
    		c.handleUnblockSrvMux(m)
    	case OpUnblockClMux:
    		c.handleUnblockClMux(m)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top