Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 387 for eventbus (0.05 seconds)

  1. docs/uk/docs/advanced/openapi-callbacks.md

    ```
    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    з JSON-тілом:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    тоді *ваш API* опрацює рахунок і згодом надішле запит зворотного виклику на `callback_url` ( *зовнішній API* ):
    
    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    з JSON-тілом на кшталт:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            // flush() delegates to expired(); with empty buffer, no-op (no exception)
            logNotificationTarget.flush();
        }
    
        @Test
        public void test_expired_withEvents_drainsBuffer() {
            // Add events to buffer
            ComponentUtil.getLogNotificationHelper()
                    .offer(new LogNotificationEvent(System.currentTimeMillis(), "ERROR", "org.test", "msg1", null));
            ComponentUtil.getLogNotificationHelper()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/stream-json-lines.md

    ## Événements envoyés par le serveur (SSE) { #server-sent-events-sse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. docs/en/mkdocs.yml

        - advanced/middleware.md
        - advanced/sub-applications.md
        - advanced/behind-a-proxy.md
        - advanced/templates.md
        - advanced/websockets.md
        - advanced/events.md
        - advanced/testing-websockets.md
        - advanced/testing-events.md
        - advanced/testing-dependencies.md
        - advanced/async-tests.md
        - advanced/settings.md
        - advanced/openapi-callbacks.md
        - advanced/openapi-webhooks.md
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  5. tests/test_sse.py

        yield ServerSentEvent(raw_data="<div>html fragment</div>", event="html")
        yield ServerSentEvent(raw_data="cpu,87.3,1709145600", event="csv")
    
    
    router = APIRouter()
    
    
    @router.get("/events", response_class=EventSourceResponse)
    async def stream_events():
        yield {"msg": "hello"}
        yield {"msg": "world"}
    
    
    app.include_router(router, prefix="/api")
    
    
    @pytest.fixture(name="client")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/openapi-callbacks.md

    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    with a JSON body of:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    then *your API* will process the invoice, and at some point later, send a callback request to the `callback_url` (the *external API*):
    
    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/openapi-callbacks.md

    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    com um corpo JSON de:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    então *sua API* processará a fatura e, em algum momento posterior, enviará um request de callback para o `callback_url` (a *API externa*):
    
    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. docs/pt/docs/advanced/stream-data.md

    /// info | Informação
    
    O exemplo acima é, na verdade, uma exceção, porque o objeto `io.BytesIO` já está em memória, então lê-lo não bloqueará nada.
    
    Mas, em muitos casos, ler um arquivo ou um objeto semelhante a arquivo bloquearia.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  9. tests/test_sub_callbacks.py

        pass  # pragma: nocover
    
    
    class Event(BaseModel):
        name: str
        total: float
    
    
    events_callback_router = APIRouter()
    
    
    @events_callback_router.get("{$callback_url}/events/{$request.body.title}")
    def event_callback(event: Event):
        pass  # pragma: nocover
    
    
    subrouter = APIRouter()
    
    
    @subrouter.post("/invoices/", callbacks=invoices_callback_router.routes)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/advanced/openapi-callbacks.md

    ```
    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    並附上這個 JSON body:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    那麼「你的 API」會處理這張發票,並在稍後某個時點,向 `callback_url`(也就是「外部 API」)送出回呼請求:
    
    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    其 JSON body 大致包含:
    
    ```JSON
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top