Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 1,565 for responseCh (0.18 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

            ).throttleBody(64 * 1024, 125, MILLISECONDS) // 500 Kbps
            .build(),
        )
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        cancelLater(call, 500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }.also { expected ->
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. docs_src/app_testing/tutorial002_py39.py

        await websocket.accept()
        await websocket.send_json({"msg": "Hello WebSocket"})
        await websocket.close()
    
    
    def test_read_main():
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200
        assert response.json() == {"msg": "Hello World"}
    
    
    def test_websocket():
        client = TestClient(app)
        with client.websocket_connect("/ws") as websocket:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 757 bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java

     */
    package jcifs.internal.witness;
    
    /**
     * Represents a witness unregistration response as defined in MS-SWN specification.
     * Contains the result of a witness unregistration request.
     */
    public class WitnessUnregisterResponse {
        /**
         * Creates a new witness unregister response.
         */
        public WitnessUnregisterResponse() {
            // Default constructor
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. docs/de/docs/how-to/custom-request-and-route.md

    In diesem Beispiel verwenden die *Pfadoperationen* unter dem `router` die benutzerdefinierte `TimedRoute`-Klasse und haben in der Response einen zusätzlichen `X-Response-Time`-Header mit der Zeit, die zum Generieren der Response benötigt wurde:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 13:54:34 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.helper.PluginHelper.Artifact;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    /**
     * API action for admin plugin management.
     */
    public class ApiAdminPluginAction extends FessApiAdminAction {
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

        }, 1, TimeUnit.SECONDS);
    
        System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f);
        try (Response response = call.execute()) {
          System.out.printf("%.2f Call was expected to fail, but completed: %s%n",
              (System.nanoTime() - startNanos) / 1e9f, response);
        } catch (IOException e) {
          System.out.printf("%.2f Call failed as expected: %s%n",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Tree Disconnect response message.
     *
     * This response confirms that the tree connection
     * has been successfully disconnected.
     *
     * @author mbechler
     */
    public class Smb2TreeDisconnectResponse extends ServerMessageBlock2Response {
    
        /**
         * Creates a new SMB2 tree disconnect response.
         *
         * @param config the CIFS configuration
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

        val request =
          client
            .newRequest(server.url("/").toUri())
            .header("Accept", "text/plain")
        val response = request.send()
        assertThat(response.status).isEqualTo(200)
        assertThat(response.contentAsString).isEqualTo("hello, Jetty HTTP Client")
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Represents the response of a suggest delete operation.
     * This class contains information about any errors that occurred during the operation
     * and the time taken to complete the operation.
     */
    public class SuggestDeleteResponse {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. docs_src/response_directly/tutorial002_py39.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/legacy/")
    def get_legacy_data():
        data = """<?xml version="1.0"?>
        <shampoo>
        <Header>
            Apply shampoo here.
        </Header>
        <Body>
            You'll have to use soap here.
        </Body>
        </shampoo>
        """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 354 bytes
    - Click Count (0)
Back to Top