- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for readRequest (0.07 sec)
-
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) -
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) -
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)