Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for CLOSING (0.23 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * successfully cancelled step will immediately start closing all objects captured for later closing
     * by it and by its input steps.
     *
     * <h3>Ending a pipeline</h3>
     *
     * Each {@code ClosingFuture} pipeline must be ended. To end a pipeline, decide whether you want to
     * close the captured objects automatically or manually.
     *
     * <h4>Automatically closing</h4>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
          delegate.onClosing(webSocket, code, reason)
        } else {
          events.add(Closing(code, reason))
        }
      }
    
      override fun onClosed(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
        Platform.get().log("[WS $name] onClosed $code", Platform.INFO, null)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     *
     *  * **Open:** the web socket has been accepted by the remote peer and is fully operational.
     *    Messages in either direction are enqueued for immediate transmission.
     *
     *  * **Closing:** one of the peers on the web socket has initiated a graceful shutdown. The web
     *    socket will continue to transmit already-enqueued messages but will refuse to enqueue new
     *    ones.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:45:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/advanced-dependencies.md

    If there are compelling use cases for early closing in dependencies with `yield`, I would consider adding a new way to opt in to early closing.
    
    ### Dependencies with `yield` and `except`, Technical Details { #dependencies-with-yield-and-except-technical-details }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/CharSource.java

     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
     *       typically implemented by opening a reader using one of the methods in the first category,
     *       doing something and finally closing the reader that was opened.
     * </ul>
     *
     * <p>Several methods in this class, such as {@link #readLines()}, break the contents of the source
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

      /**
       * Regression test for an edge case where closing response body in the HTTP engine doesn't release
       * the corresponding stream allocation. This test keeps those response bodies alive and reads
       * them after the redirect has completed. This forces a connection to not be reused where it would
       * be otherwise.
       *
       *
       * This test leaks a response body by not closing it.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (1)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     *  6. Read from and close that source.
     *
     * Exchanges that do not have a request body may skip creating and closing the request body.
     * Exchanges that do not have a response body can call
     * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source.
     */
    class Http1ExchangeCodec(
      /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java

            direction.directFrameworkDebug(fessConfig.isFrameworkDebug()); // basically false
    
            // you can add your own process when your application is booting or closing
            direction.directCurtainBefore(createCurtainBeforeHook());
            direction.directCurtainFinally(createCurtainFinallyHook()); // when destroy
    
            direction.directSecurity(createSecurityResourceProvider());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/server-sent-events.md

    ## Technical Details { #technical-details }
    
    FastAPI implements some SSE best practices out of the box.
    
    * Send a **"keep alive" `ping` comment** every 15 seconds when there hasn't been any message, to prevent some proxies from closing the connection, as suggested in the [HTML specification: Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#authoring-notes).
    * Set the `Cache-Control: no-cache` header to **prevent caching** of the stream.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/websockets.md

    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info
    
    As this is a WebSocket it doesn't really make sense to raise an `HTTPException`, instead we raise a `WebSocketException`.
    
    You can use a closing code from the [valid codes defined in the specification](https://tools.ietf.org/html/rfc6455#section-7.4.1).
    
    ///
    
    ### Try the WebSockets with dependencies { #try-the-websockets-with-dependencies }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
Back to Top