Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 540 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 540 Bytes

http-stream

A Demonstration of a simple HTTP server that streams data to a client. The server sends a stream of data to the client, and the client displays the data as it is received.

A practical use case for this would be something like a Large Language Model (LLM) that is generating text in real-time. The server would send the generated text to the client as it is generated, and the client would display the text as it is received (e.g., ChatGPT).

To install dependencies:

bun install

To run:

bun dev