antikythera v0.2.0 AntikytheraCore.Handler.CowboyReq View Source
Link to this section Summary
Link to this section Types
Link to this type
routing_info()
View Source
routing_info() :: {Antikythera.GearName.t(), nil | Antikythera.Context.GearEntryPoint.t(), Antikythera.Http.Method.t(), Antikythera.PathInfo.t(), Antikythera.Request.PathMatches.t()}
Link to this section Functions
Link to this function
method(req)
View Source
method(:cowboy_req.req()) :: result(Antikythera.Http.Method.t())
Link to this function
path_info(a0)
View Source
path_info(:cowboy_req.req()) :: Antikythera.PathInfo.t()
Link to this function
query_params(req, routing_info)
View Source
query_params(:cowboy_req.req(), routing_info()) :: result(Antikythera.Http.QueryParams.t())
Link to this function
request_body_pair(req1, routing_info, qparams, helper_modules)
View Source
request_body_pair(:cowboy_req.req(), routing_info(), Antikythera.Http.QueryParams.t(), AntikytheraCore.Handler.HelperModules.t()) :: result({:cowboy_req.req(), {binary(), Antikythera.Http.Body.t()}})
Link to this function
with_conn(req, routing_info, qparams, body_pair \\ {"", ""}, f)
View Source
with_conn(:cowboy_req.req(), routing_info(), Antikythera.Http.QueryParams.t(), {binary(), Antikythera.Http.Body.t()}, (Antikythera.Conn.t() -> Antikythera.Conn.t())) :: :cowboy_req.req()