View Source K8s.Client.HTTPStream (k8s v2.0.0-rc.2)
Helper functions for HTTP stream processing.
Link to this section Summary
Link to this section Types
@type to_lines_t() :: %{remainder: binary()}
Link to this section Functions
@spec decode_json_objects(Enumerable.t(K8s.Client.Provider.http_chunk_t())) :: Enumerable.t(K8s.Client.Provider.http_chunk_t() | {:object, binary()})
@spec transform_to_lines(Enumerable.t(K8s.Client.Provider.http_chunk_t())) :: Enumerable.t(K8s.Client.Provider.http_chunk_t() | {:line, binary()})