Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for hey (0.01 seconds)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

        processResponse(response, listener)
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
      }
    
      @Test
      fun cancelShortCircuits() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val source = newEventSource()
        assertThat(source.request().url.encodedPath).isEqualTo("/")
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
      }
    
      @RetryingTest(5)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/generate-clients.md

    That same information from the models that is included in OpenAPI is what can be used to **generate the client code**.
    
    ### Hey API { #hey-api }
    
    Once we have a FastAPI app with the models, we can use Hey API to generate a TypeScript client. The fastest way to do that is via npx.
    
    ```sh
    npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client
    ```
    
    This will generate a TypeScript SDK in `./src/client`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.1K bytes
    - Click Count (1)
  4. docs/de/docs/advanced/generate-clients.md

    ### Hey API { #hey-api }
    
    Sobald wir eine FastAPI-App mit den Modellen haben, können wir Hey API verwenden, um einen TypeScript-Client zu generieren. Der schnellste Weg das zu tun, ist über npx.
    
    ```sh
    npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/generate-clients.md

    E essas mesmas informações dos modelos que estão incluídas no OpenAPI são o que pode ser usado para **gerar o código do cliente**.
    
    ### Hey API { #hey-api }
    
    Depois que tivermos uma aplicação FastAPI com os modelos, podemos usar o Hey API para gerar um cliente TypeScript. A forma mais rápida é via npx.
    
    ```sh
    npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client
    ```
    
    Isso gerará um SDK TypeScript em `./src/client`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. docs_src/python_types/tutorial009c_py310.py

    def say_hi(name: str | None):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 56 bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/generate-clients.md

    Та же информация из моделей, включённая в OpenAPI, может использоваться для **генерации клиентского кода**.
    
    ### Hey API { #hey-api }
    
    Как только у нас есть приложение FastAPI с моделями, мы можем использовать Hey API для генерации TypeScript‑клиента. Самый быстрый способ сделать это — через npx.
    
    ```sh
    npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client
    ```
    
    Это сгенерирует TypeScript SDK в `./src/client`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/generate-clients.md

    ### Hey API { #hey-api }
    
    Una vez que tenemos una app de FastAPI con los modelos, podemos usar Hey API para generar un cliente de TypeScript. La forma más rápida de hacerlo es con npx.
    
    ```sh
    npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client
    ```
    
    Esto generará un SDK de TypeScript en `./src/client`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. docs_src/python_types/tutorial009_py39.py

    from typing import Optional
    
    
    def say_hi(name: Optional[str] = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 164 bytes
    - Click Count (0)
  10. docs_src/python_types/tutorial009b_py39.py

    from typing import Union
    
    
    def say_hi(name: Union[str, None] = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 164 bytes
    - Click Count (0)
Back to Top