- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for sendResponse (0.12 sec)
-
okhttp/src/test/java/okhttp3/DuplexTest.kt
enableProtocol(Protocol.HTTP_2) val body = MockStreamHandler() .receiveRequest("request A\n") .sendResponse("response B\n") .receiveRequest("request C\n") .sendResponse("response D\n") .receiveRequest("request E\n") .sendResponse("response F\n") .exhaustRequest() .exhaustResponse() server.enqueue( MockResponse.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 23.9K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
try { stream.requestBody.exhausted() throw AssertionError("expected IOException") } catch (expected: IOException) { } } } @JvmOverloads fun sendResponse( s: String, responseSent: CountDownLatch = CountDownLatch(0), ) = apply { actions += { stream -> stream.responseBody.writeUtf8(s) stream.responseBody.flush() responseSent.countDown()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/grid/muxserver.go
case <-m.ctx.Done(): return case handlerIn <- in: m.send(message{Op: OpUnblockClMux, MuxID: m.ID, Flags: c.baseFlags}) } } } } // sendResponses will send responses to the client. func (m *muxServer) sendResponses(ctx context.Context, toSend <-chan []byte, c *Connection, handlerErr *atomic.Pointer[RemoteErr], outBlock <-chan struct{}) { for { // Process outgoing message. var payload []byte
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
api/go1.txt
pkg net/textproto, method (*Conn) DotReader() io.Reader pkg net/textproto, method (*Conn) DotWriter() io.WriteCloser pkg net/textproto, method (*Conn) EndRequest(uint) pkg net/textproto, method (*Conn) EndResponse(uint) pkg net/textproto, method (*Conn) Next() uint pkg net/textproto, method (*Conn) PrintfLine(string, ...interface{}) error pkg net/textproto, method (*Conn) ReadCodeLine(int) (int, string, error)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)