Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1141 - 1150 of 1,565 for responseCh (0.06 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

        System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f)
        try {
          call.execute().use { response ->
            System.out.printf(
              "%.2f Call was expected to fail, but completed: %s%n",
              (System.nanoTime() - startNanos) / 1e9f,
              response,
            )
          }
        } catch (e: IOException) {
          System.out.printf(
            "%.2f Call failed as expected: %s%n",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. docs_src/request_files/tutorial003_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: Annotated[list[bytes], File(description="Multiple files as bytes")],
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
        files: Annotated[
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 952 bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        }
    
        @Test
        @DisplayName("Should create correct response")
        void testCreateResponse() {
            // Given
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // When
            Smb2NegotiateResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2NegotiateResponse);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/request-files.md

    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.responses import HTMLResponse`.
    
    **FastAPI** proporciona las mismas `starlette.responses` como `fastapi.responses` solo como una conveniencia para ti, el desarrollador. Pero la mayoría de los responses disponibles vienen directamente de Starlette.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/transport/TransportTest.java

                if (sendException != null) {
                    throw sendException;
                }
            }
    
            @Override
            protected void doRecv(Response response) throws IOException {
                if (recvException != null) {
                    throw recvException;
                }
            }
    
            @Override
            protected void doSkip(Long key) throws IOException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

    import jcifs.internal.smb2.multichannel.NetworkInterfaceInfo;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Response data for FSCTL_QUERY_NETWORK_INTERFACE_INFO
     */
    public class QueryNetworkInterfaceInfoResponse implements Decodable {
    
        private List<NetworkInterfaceInfo> interfaces;
    
        /**
         * Create query network interface info response
         */
        public QueryNetworkInterfaceInfoResponse() {
            this.interfaces = new ArrayList<>();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_COPYCHUNK_COPY response data structure. This structure contains the result
     * of a server-side copy operation.
     *
     * @author mbechler
     *
     */
    public class SrvCopyChunkCopyResponse implements Decodable {
    
        /**
         * Constructs a new SrvCopyChunkCopyResponse.
         * This response contains the results of a server-side copy operation.
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        void testSetupResponse() {
            // Arrange
            doNothing().when(negotiationResponse).setupResponse(response);
    
            // Act
            negotiationResponse.setupResponse(response);
    
            // Assert
            verify(negotiationResponse).setupResponse(response);
        }
    
        @Test
        @DisplayName("Test setupResponse with null")
        void testSetupResponseWithNull() {
            // Arrange
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/netbios/SessionServicePacket.java

        static final int SESSION_MESSAGE = 0x00;
        static final int SESSION_REQUEST = 0x81;
    
        /**
         * NetBIOS positive session response packet type.
         */
        public static final int POSITIVE_SESSION_RESPONSE = 0x82;
    
        /**
         * NetBIOS negative session response packet type.
         */
        public static final int NEGATIVE_SESSION_RESPONSE = 0x83;
        static final int SESSION_RETARGET_RESPONSE = 0x84;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. internal/config/lambda/event/targetlist.go

    package event
    
    import (
    	"fmt"
    	"maps"
    	"net/http"
    	"strings"
    	"sync"
    )
    
    // Target - lambda target interface
    type Target interface {
    	ID() TargetID
    	IsActive() (bool, error)
    	Send(Event) (*http.Response, error)
    	Stat() TargetStat
    	Close() error
    }
    
    // TargetStats is a collection of stats for multiple targets.
    type TargetStats struct {
    	TargetStats map[string]TargetStat
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top