cowboy_otel
v0.1.0
  • Pages
  • Modules

    View Source cowboy_otel_h (cowboy_otel v0.1.0)

    Summary

    Types

    state/0

    Functions

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

    Types

    Link to this type

    state/0

    View Source
    -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
    -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, Req0, 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().

    Hex Package Hex Preview (current file) Download ePub version

    Built using ExDoc (v0.30.5) for the Erlang programming language