View Source K8s.Client.Mint.WebSocket (k8s v2.0.0-rc.2)
Websocket implementation of Mint based K8s.Client.Provider
Link to this section Summary
Link to this section Types
@type t() :: %K8s.Client.Mint.WebSocket{ conn: Mint.HTTP.t(), ref: Mint.Types.request_ref() | nil, websocket: Mint.WebSocket.t() | nil }
Link to this section Functions
@spec request(uri :: URI.t(), headers :: list(), http_opts :: keyword()) :: K8s.Client.Provider.websocket_response_t()
@spec stream(uri :: URI.t(), headers :: list(), http_opts :: keyword()) :: K8s.Client.Provider.stream_response_t()
@spec stream_to( uri :: URI.t(), headers :: list(), http_opts :: keyword(), stream_to :: pid() ) :: K8s.Client.Provider.stream_to_response_t()