View Source Bella.Watcher.ResponseBuffer (bella v0.2.2)
Buffers streaming responses from HTTPoison and returns kubernetes watch events as JSON
ResponseBuffer implementation from Kazan's LineBuffer.
Link to this section Summary
Link to this section Types
Link to this section Functions
Add an HTTP response chunk to the buffer
Returns complete lines of JSON from streaming HTTP Response.
Lines are in NDJSON format; each line is a JSON object.
new() :: t()
Create a new