nova v0.9.15
  • Pages
  • Modules

    View Source nova_stream_h (nova v0.9.15)

    Link to this section Summary

    Types

    state/0

    Functions

    data(StreamID, IsFin, Data, State)
    early_error(StreamID, Reason, PartialReq, Resp, Opts)
    info(StreamID, Info, State)
    init(StreamID, Req, Opts)
    terminate(StreamID, Reason, State)

    Link to this section Types

    Link to this type

    state/0

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

    Link to this section 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
    -spec 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)

    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
    -spec init(cowboy_stream:streamid(), cowboy_req:req(), cowboy:opts()) ->
            {cowboy_stream:commands(), state()}.
    Link to this function

    terminate(StreamID, Reason, State)

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

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.3) for the Elixir programming language