View Source nova_stream_h (nova v0.10.1)

Summary

Types

-type state() :: #state{}.

Functions

Link to this function

data(StreamID, IsFin, Data, State)

View Source
-spec 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)

View Source
Link to this function

info(StreamID, Info, State)

View Source
-spec info(cowboy_stream:streamid(), any(), State) -> {cowboy_stream:commands(), State}
        when State :: state().
Link to this function

init(StreamID, Req, Opts)

View Source
Link to this function

terminate(StreamID, Reason, State)

View Source
-spec terminate(cowboy_stream:streamid(), cowboy_stream:reason(), state()) -> any().