Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,325 for connect (0.2 sec)

  1. docs/en/docs/how-to/async-sql-encode-databases.md

    So, you will be able to see it all in the interactive API docs.
    
    ## Connect and disconnect
    
    * Create your `FastAPI` application.
    * Create event handlers to connect and disconnect from the database.
    
    ```Python hl_lines="42  45-47  50-52"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    ## Read notes
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. internal/dsync/dsync-client_test.go

    }
    
    func (restClient *ReconnectRESTClient) Lock(ctx context.Context, args LockArgs) (status bool, err error) {
    	return restClient.Call("/v1/lock", args)
    }
    
    func (restClient *ReconnectRESTClient) RUnlock(ctx context.Context, args LockArgs) (status bool, err error) {
    	return restClient.Call("/v1/runlock", args)
    }
    
    func (restClient *ReconnectRESTClient) Unlock(ctx context.Context, args LockArgs) (status bool, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

            if (headerList == null) {
                headerList = new ArrayList<>();
            }
            headerList.add(new String[] { key, value });
            return this;
        }
    
        public void connect(final Consumer<HttpURLConnection> actionListener, final Consumer<Exception> exceptionListener) {
            final Runnable task = () -> {
                if (paramList != null) {
                    char sp;
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/ldap.go

    )
    
    // LookupUserDN searches for the full DN and groups of a given short/login
    // username.
    func (l *Config) LookupUserDN(username string) (string, []string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return "", nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return "", nil, err
    	}
    
    	// Lookup user DN
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/testdata/describe/http_config.json

                                "resource_api_version": "V3"
                              }
                            }
                          ],
                          "combined_validation_context": {
                            "default_validation_context": {
                              "match_subject_alt_names": [
                                {
                                  "exact": "spiffe://cluster.local/ns/default/sa/bookinfo-productpage"
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt

        return object : Socket() {
          override fun connect(
            endpoint: SocketAddress?,
            timeout: Int,
          ) {
            val requested = (endpoint as InetSocketAddress)
            val inetSocketAddress = hostMapping[requested.address] ?: defaultAddress ?: requested
            Platform.get().log("Socket connection to: $inetSocketAddress was: $requested")
            super.connect(inetSocketAddress, timeout)
          }
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. tests/test_route_scope.py

    
    def test_websocket():
        with client.websocket_connect("/items/portal-gun") as websocket:
            data = websocket.receive_json()
            assert data == {"item_id": "portal-gun", "path": "/items/{item_id}"}
    
    
    def test_websocket_invalid_path_doesnt_match():
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/itemsx/portal-gun"):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Feb 08 10:23:07 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. internal/grid/msg.go

    // Op is operation type messages.
    type Op uint8
    
    // HandlerID is the ID for the handler of a specific type.
    type HandlerID uint8
    
    const (
    	// OpConnect is a connect request.
    	OpConnect Op = iota + 1
    
    	// OpConnectResponse is a response to a connect request.
    	OpConnectResponse
    
    	// OpPing is a ping request.
    	// If a mux id is specified that mux is pinged.
    	// Clients send ping requests.
    	OpPing
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

        assertThat(recordedRequest.requestUrl!!.host).isEqualTo("cash.app")
        assertThat(recordedRequest.handshakeServerNames).containsExactly("cash.app")
      }
    
      /**
       * Connect to [hostnameOrIpAddress] and return what was received. To fake an arbitrary hostname we
       * tell MockWebServer to act as a proxy.
       */
      private fun requestToHostnameViaProxy(hostnameOrIpAddress: String): RecordedRequest {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (1)
  10. istioctl/pkg/writer/compare/testdata/configdump_diff.json

          "version_info": "2024-03-04T08:37:44Z/4",
          "dynamic_listeners": [
            {
              "name": "connect_terminate",
              "active_state": {
                "listener": {
                  "@type": "type.googleapis.com/envoy.config.listener.v3.Listener",
                  "name": "connect_terminate",
                  "address": {
                    "socket_address": {
                      "address": "0.0.0.0",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 51.6K bytes
    - Viewed (0)
Back to top