Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 537 for requester (0.07 sec)

  1. internal/grid/handlers.go

    			r := RemoteErr(err.Error())
    			return nil, &r
    		}
    		return payload, nil
    	}, subroute...)
    }
    
    // Requester is able to send requests to a remote.
    type Requester interface {
    	Request(ctx context.Context, h HandlerID, req []byte) ([]byte, error)
    }
    
    // Call the remote with the request and return the response.
    // The response should be returned with PutResponse when no error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. architecture/networking/pilot.md

    We will have two triggers for sending config - requests and pushes.
    
    #### Requests
    
    Requests come from the client specifically asking for a set of resources. This could be requesting the initial set of resources on a new connection, or from a new dependency. For example, a push of `Cluster X` referencing `Endpoint Y` may lead to a request for `Endpoint Y` if it is not already known to the client.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. internal/grid/muxclient.go

    	m.singleResp = false
    	m.RecvSeq = m.SendSeq // Sync
    	if cap(requests) > 0 {
    		m.outBlock = make(chan struct{}, cap(requests))
    	}
    	msg := message{
    		Op:         OpConnectMux,
    		Handler:    h,
    		Payload:    payload,
    		DeadlineMS: uint32(m.deadline.Milliseconds()),
    	}
    	msg.setZeroPayloadFlag()
    	if requests == nil {
    		msg.Flags |= FlagEOF
    	}
    	if m.subroute != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       * the inbound request was truncated, this exception will be non-null.
       */
      val failure: IOException? = null,
    ) {
      val method: String?
      val path: String?
    
      /**
       * The TLS handshake of the connection that carried this request, or null if the request was
       * received without TLS.
       */
      val handshake: Handshake?
      val requestUrl: HttpUrl?
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

            .cache(cache)
            .build()
        val request1 = Request(server.url("/"))
        client.newCall(request1).enqueue(callback)
        callback.await(request1.url).assertCode(200).assertBody("A")
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
        val request2 = Request(server.url("/"))
        client.newCall(request2).enqueue(callback)
        callback.await(request2.url).assertCode(200).assertBody("A")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  7. mockwebserver/README.md

      // Optional: confirm that your app made the HTTP requests you were expecting.
      RecordedRequest request1 = server.takeRequest();
      assertEquals("/v1/chat/messages/", request1.getPath());
      assertNotNull(request1.getHeader("Authorization"));
    
      RecordedRequest request2 = server.takeRequest();
      assertEquals("/v1/chat/messages/2", request2.getPath());
    
      RecordedRequest request3 = server.takeRequest();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. cmd/sts-datatypes.go

    }
    
    // AssumeRoleResponse contains the result of successful AssumeRole request.
    type AssumeRoleResponse struct {
    	XMLName xml.Name `xml:"https://sts.amazonaws.com/doc/2011-06-15/ AssumeRoleResponse" json:"-"`
    
    	Result           AssumeRoleResult `xml:"AssumeRoleResult"`
    	ResponseMetadata struct {
    		RequestID string `xml:"RequestId,omitempty"`
    	} `xml:"ResponseMetadata,omitempty"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  9. internal/handlers/forwarder.go

    	if f.Logger != nil && err != context.Canceled {
    		f.Logger(err)
    	}
    	w.WriteHeader(http.StatusBadGateway)
    }
    
    func (f *Forwarder) getURLFromRequest(req *http.Request) *url.URL {
    	// If the Request was created by Go via a real HTTP request,  RequestURI will
    	// contain the original query string. If the Request was created in code, RequestURI
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

      private fun assertConnectionReused(vararg requests: Request?) {
        for (i in requests.indices) {
          val response = client.newCall(requests[i]!!).execute()
          response.body.string() // Discard the response body.
          assertThat(server.takeRequest().sequenceNumber).isEqualTo(i)
        }
      }
    
      private fun assertConnectionNotReused(vararg requests: Request?) {
        for (request in requests) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top