nova_stream_h (NOVA vv0.8.0)
Link to this section Summary
Link to this section Types
Link to this type
state/0
Specs
state() :: #state{}.
Link to this section Functions
Link to this function
data(StreamID, IsFin, Data, State)
Specs
data(cowboy_stream:streamid(), cowboy_stream:fin(), cowboy_req:resp_body(), State) ->
{cowboy_stream:commands(), State}
when State :: state().
Link to this function
early_error(StreamID, Reason, PartialReq, Resp, Opts)
Specs
early_error(cowboy_stream:streamid(),
cowboy_stream:reason(),
cowboy_stream:partial_req(),
Resp,
cowboy:opts()) ->
Resp
when Resp :: cowboy_stream:resp_command().
Link to this function
info(StreamID, Info, State)
Specs
info(cowboy_stream:streamid(), any(), State) -> {cowboy_stream:commands(), State}
when State :: state().
Link to this function
init(StreamID, Req, Opts)
Specs
init(cowboy_stream:streamid(), cowboy_req:req(), cowboy:opts()) ->
{cowboy_stream:commands(), state()}.
Link to this function
terminate(StreamID, Reason, State)
Specs
terminate(cowboy_stream:streamid(), cowboy_stream:reason(), state()) -> any().