Cables v0.1.0 Cables.Response View Source

A Cables.Handler that consumes the response body and returns a Cables.Response with :status, :headers, and :body

Link to this section Summary

Link to this section Functions

Link to this function handle(gun_pid, stream_ref, timeout, init_arg) View Source

Callback implementation for Cables.Handler.handle_data/2.

Link to this function handle_down(reason, state) View Source

Callback implementation for Cables.Handler.handle_down/2.

Callback implementation for Cables.Handler.handle_finish/1.

Link to this function handle_headers(status, headers, atom) View Source

Callback implementation for Cables.Handler.handle_headers/3.

Link to this function init(gun_pid, stream, init_arg) View Source

Callback implementation for Cables.Handler.init/3.