View Source erf_http_server_elli (erf v0.1.2)

An elli implementation for erf_http_server.

Summary

Types

-type extra_conf() ::
          #{min_acceptors => pos_integer(),
            accept_timeout => pos_integer(),
            request_timeout => pos_integer(),
            header_timeout => pos_integer(),
            body_timeout => pos_integer(),
            max_body_size => pos_integer()}.

Functions

Link to this function

init(InitialRequest, CallbackArgs)

View Source
-spec init(InitialRequest, CallbackArgs) -> Result
              when
                  InitialRequest :: elli:req(),
                  CallbackArgs :: [Name :: atom()],
                  Result :: {ok, Behaviour :: standard}.
Link to this function

start_link(Name, Conf, ExtraConf)

View Source
-spec start_link(Name, Conf, ExtraConf) -> Result
                    when
                        Name :: atom(),
                        Conf :: erf_http_server:conf(),
                        ExtraConf :: extra_conf(),
                        Result :: supervisor:startlink_ret().