Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,455 for Request (0.15 sec)

  1. src/net/http/request.go

    //
    // To create a new request with a context, use [NewRequestWithContext].
    // To make a deep copy of a request with a new context, use [Request.Clone].
    func (r *Request) WithContext(ctx context.Context) *Request {
    	if ctx == nil {
    		panic("nil context")
    	}
    	r2 := new(Request)
    	*r2 = *r
    	r2.ctx = ctx
    	return r2
    }
    
    // Clone returns a deep copy of r with its context changed to ctx.
    // The provided ctx must be non-nil.
    //
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-29 17:58
    - 49.4K bytes
    - Viewed (0)
  2. docs/de/docs/reference/request.md

    # `Request`-Klasse
    
    Sie können einen Parameter in einer *Pfadoperation-Funktion* oder einer Abhängigkeit als vom Typ `Request` deklarieren und dann direkt auf das Requestobjekt zugreifen, ohne jegliche Validierung, usw.
    
    Sie können es direkt von `fastapi` importieren:
    
    ```python
    from fastapi import Request
    ```
    
    !!! tip "Tipp"
    Registered: 2024-06-17 08:32
    - Last Modified: 2024-02-19 15:53
    - 596 bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Request.kt

        }
    
        internal constructor(request: Request) {
          this.url = request.url
          this.method = request.method
          this.body = request.body
          this.tags =
            when {
              request.tags.isEmpty() -> mapOf()
              else -> request.tags.toMutableMap()
            }
          this.headers = request.headers.newBuilder()
          this.cacheUrlOverride = request.cacheUrlOverride
        }
    
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-04-06 04:17
    - 10.5K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-discovery/app/request.go

    import (
    	"net/http"
    	"time"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/pilot/pkg/request"
    )
    
    var requestCmd = &cobra.Command{
    	Use:   "request <method> <path> [<body>]",
    	Short: "Makes an HTTP request to Pilot metrics/debug endpoint",
    	Args:  cobra.MinimumNArgs(2),
    	RunE: func(c *cobra.Command, args []string) error {
    		command := &request.Command{
    			Address: "127.0.0.1:15014",
    			Client: &http.Client{
    Registered: 2024-06-14 15:00
    - Last Modified: 2021-05-28 03:44
    - 1.1K bytes
    - Viewed (0)
  5. docs/en/docs/reference/request.md

    # `Request` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Request` and then you can access the raw request object directly, without any validation, etc.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Request
    ```
    
    !!! tip
    Registered: 2024-06-17 08:32
    - Last Modified: 2024-04-18 19:53
    - 516 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/Request.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.request;
    
    import org.codelibs.fess.suggest.concurrent.Deferred;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.opensearch.client.Client;
    import org.opensearch.core.common.Strings;
    
    public abstract class Request<T extends Response> {
        public Deferred<T>.Promise execute(final Client client) {
    Registered: 2024-06-12 15:38
    - Last Modified: 2024-02-22 01:36
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Request.java

    package jcifs.util.transport;
    
    
    /**
     * 
     *
     */
    public interface Request extends Message {
    
        /**
         * @return number of credits this request requires
         */
        int getCreditCost ();
    
    
        /**
         * @param credits
         */
        void setRequestCredits ( int credits );
    
    
        /**
         * @return whether this is a cancel request
         */
        boolean isCancel ();
    
    
        /**
    Registered: 2024-06-12 15:45
    - Last Modified: 2018-07-01 13:12
    - 1.3K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/app/request.go

    // must not be added in this command. Otherwise, it'd break istioctl proxy-config,
    // which interprets the output literally as json document.
    var (
    	requestCmd = &cobra.Command{
    		Use:   "request <method> <path> [<body>]",
    		Short: "Makes an HTTP request to the Envoy admin API",
    		Args:  cobra.MinimumNArgs(2),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if !allowedPorts.Contains(debugRequestPort) {
    Registered: 2024-06-14 15:00
    - Last Modified: 2023-12-08 03:13
    - 2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/worker/request/Request.java

     * limitations under the License.
     */
    
    package org.gradle.process.internal.worker.request;
    
    import com.google.common.base.Preconditions;
    import org.gradle.internal.operations.BuildOperationRef;
    
    public class Request {
        private final Object arg;
        private final BuildOperationRef buildOperation;
    
        public Request(Object arg, BuildOperationRef buildOperation) {
            Preconditions.checkNotNull(buildOperation);
    Registered: 2024-06-12 18:38
    - Last Modified: 2020-03-15 22:51
    - 1.2K bytes
    - Viewed (0)
  10. pkg/probe/http/request.go

    	"k8s.io/component-base/version"
    	"k8s.io/kubernetes/pkg/probe"
    )
    
    // NewProbeRequest returns an http.Request suitable for use as a request for a
    // probe.
    func NewProbeRequest(url *url.URL, headers http.Header) (*http.Request, error) {
    	return newProbeRequest(url, headers, "probe")
    }
    
    // NewRequestForHTTPGetAction returns an http.Request derived from httpGet.
    // When httpGet.Host is empty, podIP will be used instead.
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-04-12 07:39
    - 3.3K bytes
    - Viewed (0)
Back to top