Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for Initiated (0.23 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    import okhttp3.Protocol
    import okio.BufferedSource
    
    /**
     * [HTTP/2][Protocol.HTTP_2] only. Processes server-initiated HTTP requests on the client.
     * Implementations must quickly dispatch callbacks to avoid creating a bottleneck.
     *
     * While [onReset] may occur at any time, the following callbacks are expected in order,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       */
      fun send(bytes: ByteString): Boolean
    
      /**
       * Attempts to initiate a graceful shutdown of this web socket. Any already-enqueued messages will
       * be transmitted before the close message is sent but subsequent calls to [send] will return
       * false and their messages will not be enqueued.
       *
       * This returns true if a graceful shutdown was initiated by this call. It returns false if
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/PushPromise.kt

     * limitations under the License.
     */
    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    import okhttp3.Headers
    
    /** An HTTP request initiated by the server. */
    @ExperimentalOkHttpApi
    class PushPromise(
      val method: String,
      val path: String,
      val headers: Headers,
      val response: MockResponse,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 874 bytes
    - Viewed (0)
  4. maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            // for technical reasons we cannot throw here, even if delegate does cancel transfer
            listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
            Thread.sleep(500); // to make sure queue is processed, cancellation applied
    
            // subsequent call will cancel
            assertThrows(
                    TransferCancelledException.class,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 20:50:56 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

     * limitations under the License.
     */
    package okhttp3.sse
    
    import okhttp3.Request
    
    interface EventSource {
      /** Returns the original request that initiated this event source. */
      fun request(): Request
    
      /**
       * Immediately and violently release resources held by this event source. This does nothing if
       * the event source has already been closed or canceled.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

       * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent as
       * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than
       * `streamId`.
       *
       * @param streamId client-initiated stream ID.  Must be an odd number.
       * @param promisedStreamId server-initiated stream ID.  Must be an even number.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/testdata/libgo3/libgo3.go

    //
    //export SawSIGIO
    func SawSIGIO() C.int {
    	select {
    	case <-sigioChan:
    		return 1
    	case <-time.After(5 * time.Second):
    		return 0
    	}
    }
    
    // ProvokeSIGPIPE provokes a kernel-initiated SIGPIPE.
    //
    //export ProvokeSIGPIPE
    func ProvokeSIGPIPE() {
    	r, w, err := os.Pipe()
    	if err != nil {
    		panic(err)
    	}
    	r.Close()
    	defer w.Close()
    	w.Write([]byte("some data"))
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1020 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         *
         * A push promise contains all the headers that pertain to a server-initiated request, and a
         * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent
         * as a part of the response to `streamId`.
         *
         * @param streamId client-initiated stream ID.  Must be an odd number.
         * @param promisedStreamId server-initiated stream ID.  Must be an even number.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      // blocking I/O) and this (to create streams). Such operations must synchronize on 'this' last.
      // This ensures that we never wait for a blocking operation while holding 'this'.
    
      /** True if this peer initiated the connection. */
      internal val client: Boolean = builder.client
    
      /** User code to run in response to incoming streams or settings. */
      internal val listener: Listener = builder.listener
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. pkg/controller/storageversionmigrator/resourceversion.go

    )
    
    // ResourceVersionController adds the resource version obtained from a randomly nonexistent namespace
    // to the SVM status before the migration is initiated. This resource version is utilized for checking
    // freshness of GC cache before the migration is initiated.
    type ResourceVersionController struct {
    	discoveryClient *discovery.DiscoveryClient
    	metadataClient  metadata.Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top