Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 121 for send (0.16 sec)

  1. docs/en/docs/advanced/websockets.md

    ## Await for messages and send messages
    
    In your WebSocket route you can `await` for messages and send messages.
    
    ```Python hl_lines="48-52"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    You can receive and send binary, text, and JSON data.
    
    ## Try it
    
    If your file is named `main.py`, run your application with:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/openapi-callbacks.md

    The user of your API (an external developer) will create an invoice in your API with a POST request.
    
    Then your API will (let's imagine):
    
    * Send the invoice to some customer of the external developer.
    * Collect the money.
    * Send a notification back to the API user (the external developer).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. .github/workflows/notify-on-rc-for-manual-test.yml

    run-name: Notify the IDE Experience team about new RCs for manual testing
    on:
      push:
        tags:
          - 'v*.*.*-RC1'
    
    permissions: {}
    
    jobs:
      send-slack-notification:
        runs-on: ubuntu-latest
        steps:
          - name: Send Slack notification about new RCs for manual testing
            id: slack
            uses: slackapi/slack-github-action@v1.23.0
            with:
              payload: |
                {
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. architecture/ambient/ztunnel.md

    Below shows an example outbound request. The "target" path is what the client sends, while the "actual" path is the real network flow after redirection.
    
    ```mermaid
    graph LR
        subgraph Client Node
            Client
            CZ["Ztunnel"]
        end
        subgraph Server Node
            Server
            SZ["Ztunnel"]
        end
        Client--Plain-->CZ
        CZ-."HBONE (target)".->Server
        CZ--"HBONE (actual)"-->SZ
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. internal/event/target/postgresql.go

    		return err
    	}
    	return target.send(eventData)
    }
    
    // IsConnErr - To detect a connection error.
    func IsConnErr(err error) bool {
    	return xnet.IsConnRefusedErr(err) || err.Error() == "sql: database is closed" || err.Error() == "sql: statement is closed" || err.Error() == "invalid connection"
    }
    
    // send - sends an event to the PostgreSQL.
    func (target *PostgreSQLTarget) send(eventData event.Event) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            // Assume the server won't send a TLS ServerHello until we send a TLS ClientHello. If
            // that happens, then we will have buffered bytes that are needed by the SSLSocket!
            // This check is imperfect: it doesn't tell us whether a handshake will succeed, just
            // that it will almost certainly fail because the proxy has sent unexpected data.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. internal/logger/target/console/console.go

    func (c *Target) Endpoint() string {
    	return ""
    }
    
    func (c *Target) String() string {
    	return "console"
    }
    
    // Send log message 'e' to console
    func (c *Target) Send(e interface{}) error {
    	entry, ok := e.(log.Entry)
    	if !ok {
    		return fmt.Errorf("Uexpected log entry structure %#v", e)
    	}
    	if logger.IsJSON() {
    		logJSON, err := json.Marshal(&entry)
    		if err != nil {
    			return err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. internal/logger/logger.go

    	}
    
    	// Iterate over all logger targets to send the log entry
    	for _, t := range systemTgts {
    		if err := t.Send(ctx, entry); err != nil {
    			if consoleTgt != nil { // Sending to the console never fails
    				entry.Trace.Message = fmt.Sprintf("event(%#v) was not sent to Logger target (%#v): %#v", entry, t, err)
    				consoleTgt.Send(ctx, entry)
    			}
    		}
    	}
    }
    
    // Event sends a event log to  log targets
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. manifests/charts/gateways/istio-ingress/files/profile-openshift-ambient.yaml

      logLevel: info
      provider: "multus"
    pilot:
      cni:
        enabled: true
        provider: "multus"
      variant: distroless
      env:
        PILOT_ENABLE_AMBIENT: "true"
        # Allow sidecars/ingress to send/receive HBONE. This is required for interop.
        PILOT_ENABLE_SENDING_HBONE: "true"
        PILOT_ENABLE_SIDECAR_LISTENING_HBONE: "true"
        CA_TRUSTED_NODE_ACCOUNTS: "istio-system/ztunnel,kube-system/ztunnel"
    platform: openshift
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat May 04 01:17:57 GMT 2024
    - 955 bytes
    - Viewed (0)
  10. manifests/charts/ztunnel/files/profile-openshift-ambient.yaml

      logLevel: info
      provider: "multus"
    pilot:
      cni:
        enabled: true
        provider: "multus"
      variant: distroless
      env:
        PILOT_ENABLE_AMBIENT: "true"
        # Allow sidecars/ingress to send/receive HBONE. This is required for interop.
        PILOT_ENABLE_SENDING_HBONE: "true"
        PILOT_ENABLE_SIDECAR_LISTENING_HBONE: "true"
        CA_TRUSTED_NODE_ACCOUNTS: "istio-system/ztunnel,kube-system/ztunnel"
    platform: openshift
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat May 04 01:17:57 GMT 2024
    - 955 bytes
    - Viewed (0)
Back to top