Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 195 for streaming (0.32 seconds)

  1. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         * to the target URL or serves file content directly if configured.
         *
         * @param form the go form containing document ID and tracking parameters
         * @return action response for redirection or content streaming
         * @throws IOException if an I/O error occurs during content retrieval
         */
        @Execute
        public ActionResponse index(final GoForm form) throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. internal/grid/connection_test.go

    	defer close(cleanReqs)
    	// 1: Block forever
    	h1 := func(payload []byte) ([]byte, *RemoteErr) {
    		gotCall <- struct{}{}
    		<-cleanReqs
    		return nil, nil
    	}
    	// 2: Also block, but with streaming.
    	h2 := StreamHandler{
    		Handle: func(ctx context.Context, payload []byte, request <-chan []byte, resp chan<- []byte) *RemoteErr {
    			gotCall <- struct{}{}
    			select {
    			case <-ctx.Done():
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/chat/ChatClient.java

            }
        }
    
        /**
         * Performs an enhanced streaming chat request with multi-phase RAG flow.
         *
         * @param sessionId the session ID (can be null for new sessions)
         * @param userMessage the user's message
         * @param userId the user ID (can be null for anonymous users)
         * @param callback the callback to receive phase notifications and streaming chunks
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/stream-json-lines.md

    You could have a sequence of data that you would like to send in a "**stream**", you could do it with **JSON Lines**.
    
    /// info
    
    Added in FastAPI 0.134.0.
    
    ///
    
    ## What is a Stream? { #what-is-a-stream }
    
    "**Streaming**" data means that your app will start sending data items to the client without waiting for the entire sequence of items to be ready.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. fastapi/sse.py

            "event": {"type": "string"},
            "id": {"type": "string"},
            "retry": {"type": "integer", "minimum": 0},
        },
    }
    
    
    class EventSourceResponse(StreamingResponse):
        """Streaming response with `text/event-stream` media type.
    
        Use as `response_class=EventSourceResponse` on a *path operation* that uses `yield`
        to enable Server Sent Events (SSE) responses.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  6. internal/config/notify/help.go

    			Description: queueLimitComment,
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         target.NATSStreaming,
    			Description: "[DEPRECATED] set to 'on', to use streaming NATS server",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.NATSStreamingAsync,
    			Description: "[DEPRECATED] set to 'on', to enable asynchronous publish",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 19.2K bytes
    - Click Count (0)
  7. cmd/auth-handler.go

    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256 &&
    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

                }
            }
            if (filtered.isEmpty() || filtered.size() == 1) {
                // Optimization to skip streaming, distincting, and collecting to a new list when there is zero or one
                // project, aka there can't be duplicates.
                return filtered;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 19 16:34:39 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. cmd/bitrot.go

    			continue
    		}
    		if bw, ok := w.(io.Closer); ok {
    			errs[i] = bw.Close()
    		} else {
    			errs[i] = nil
    		}
    	}
    	return errs
    }
    
    // Returns hash sum for whole-bitrot, nil for streaming-bitrot.
    func bitrotWriterSum(w io.Writer) []byte {
    	if bw, ok := w.(*wholeBitrotWriter); ok {
    		return bw.Sum(nil)
    	}
    	return nil
    }
    
    // Returns the size of the file with bitrot protection
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. internal/grid/grid.go

    	maxMergeMessages = 50
    
    	// clientPingInterval will ping the remote handler every 15 seconds.
    	// Clients disconnect when we exceed 2 intervals.
    	clientPingInterval = 15 * time.Second
    
    	// Deadline for single (non-streaming) requests to complete.
    	// Used if no deadline is provided on context.
    	defaultSingleRequestTimeout = time.Minute
    )
    
    var internalByteBuffer = bpool.Pool[*[]byte]{
    	New: func() *[]byte {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top