Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 373 for have (0.15 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        server.listener.assertClosed(1000, "Hi!")
        taskFaker.runTasks()
        assertThat(client.closed).isTrue()
        server.listener.assertExhausted() // Client should not have sent second close.
        client.listener.assertExhausted() // Server should not have sent second close.
      }
    
      @Test
      fun serverCloseBreaksReadMessageLoop() {
        server.webSocket!!.send("Hello!")
        server.webSocket!!.close(1000, "Bye!")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // The number of nodes that should be running the
      // daemon pod and have one or more of the daemon pod running and
      // available (ready for at least spec.minReadySeconds)
      // +optional
      optional int32 numberAvailable = 7;
    
      // The number of nodes that should be running the
      // daemon pod and have none of the daemon pod running and available
      // (ready for at least spec.minReadySeconds)
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

    {!../../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### Using `StreamingResponse` with file-like objects
    
    If you have a file-like object (e.g. the object returned by `open()`), you can create a generator function to iterate over that file-like object.
    
    That way, you don't have to read it all first in memory, and you can pass that generator function to the `StreamingResponse`, and return it.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. apache-maven/src/main/appended-resources/licenses/unrecognized-javax.annotation-api-1.3.2.txt

    automatically terminate your rights under this License. However, parties
    who have received copies, or rights, from you under this License will
    not have their licenses terminated so long as such parties remain in
    full compliance.
    
    5. You are not required to accept this License, since you have not
    signed it. However, nothing else grants you permission to modify or
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 11 18:59:18 GMT 2021
    - 38.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/index.md

    And then, that system (in this case **FastAPI**) will take care of doing whatever is needed to provide your code with those needed dependencies ("inject" the dependencies).
    
    This is very useful when you need to:
    
    * Have shared logic (the same code logic again and again).
    * Share database connections.
    * Enforce security, authentication, role requirements, etc.
    * And many other things...
    
    All these, while minimizing code repetition.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        taskRunner.lock.withLock {
          check(currentTask == TestThreadSerialTask)
          nanoTime = newTime
          yieldUntil(ResumePriority.AfterOtherTasks)
        }
      }
    
      /** Confirm all tasks have completed. Used by the test thread only. */
      fun assertNoMoreTasks() {
        taskRunner.assertThreadDoesntHoldLock()
    
        taskRunner.lock.withLock {
          assertThat(activeThreads).isEqualTo(0)
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

     */
    class CacheControl internal constructor(
      /**
       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
       * the response; it only means we have to validate the response with the origin server before
       * returning it. We can do this with a conditional GET.
       *
       * In a request, it means do not use a cache to satisfy the request.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/generate-clients.md

    !!! tip
        Notice the autocompletion for `name` and `price`, that was defined in the FastAPI application, in the `Item` model.
    
    You will have inline errors for the data that you send:
    
    <img src="/img/tutorial/generate-clients/image04.png">
    
    The response object will also have autocompletion:
    
    <img src="/img/tutorial/generate-clients/image05.png">
    
    ## FastAPI App with Tags
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/query-params-str-validations.md

    But now, having `Query(max_length=50)` inside of `Annotated`, we are telling FastAPI that we want it to extract this value from the query parameters (this would have been the default anyway 🤷) and that we want to have **additional validation** for this value (that's why we do this, to get the additional validation). 😎
    
    FastAPI will now:
    
    * **Validate** the data making sure that the max length is 50 characters
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // The number of nodes that should be running the
      // daemon pod and have one or more of the daemon pod running and
      // available (ready for at least spec.minReadySeconds)
      // +optional
      optional int32 numberAvailable = 7;
    
      // The number of nodes that should be running the
      // daemon pod and have none of the daemon pod running and available
      // (ready for at least spec.minReadySeconds)
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 36.4K bytes
    - Viewed (0)
Back to top