Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readRequest (0.08 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    	defer cancel()
    
    	fixture := connect(ctx)
    	ztunClient := fixture.ztunClient
    	uid := fixture.uid
    	// read initial pod add
    	readRequest(t, ztunClient)
    	sendAck(ztunClient)
    	// read snapshot sent
    	m, fds := readRequest(t, ztunClient)
    	assert.Equal(t, len(fds), 0)
    	sent := m.Payload.(*zdsapi.WorkloadRequest_SnapshotSent).SnapshotSent
    	if sent == nil {
    		panic("expected snapshot sent")
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          source: BufferedSource,
          sink: BufferedSink,
        ): Boolean {
          if (source.exhausted()) {
            return false // No more requests on this socket.
          }
    
          val request = readRequest(socket, source, sink, sequenceNumber)
          atomicRequestCount.incrementAndGet()
          requestQueue.add(request)
    
          if (request.failure != null) {
            return false // Nothing to respond to.
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

            .build(),
        )
        server.enqueue(
          MockResponse(body = "abc"),
        )
        val headRequest =
          Request.Builder()
            .url(server.url("/"))
            .head()
            .build()
        val response = client.newCall(headRequest).execute()
        assertThat(response.code).isEqualTo(200)
        assertArrayEquals(ByteArray(0), response.body.bytes())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg net/http, func PostForm(string, url.Values) (*Response, error)
    pkg net/http, func ProxyFromEnvironment(*Request) (*url.URL, error)
    pkg net/http, func ProxyURL(*url.URL) func(*Request) (*url.URL, error)
    pkg net/http, func ReadRequest(*bufio.Reader) (*Request, error)
    pkg net/http, func ReadResponse(*bufio.Reader, *Request) (*Response, error)
    pkg net/http, func Redirect(ResponseWriter, *Request, string, int)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top