mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
This creates a response_stream plugin in the Kibana /examples section. The plugin demonstrates API endpoints that can stream data chunks with a single request with gzip/compression support. gzip-streams get decompressed natively by browsers. The plugin demonstrates two use cases to get started: Streaming a raw string as well as a more complex example that streams Redux-like actions to the client which update React state via useReducer().
120 B
120 B
The ./api
folder contains shared code used to support working with the same type specifications on server and client.