antikythera v0.4.0 AntikytheraCore.Handler.CowboyReq View Source
Link to this section Summary
Link to this section Types
Specs
result(a) :: {:ok, a} | {:error, :cowboy_req.req()}
Specs
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
Specs
method(:cowboy_req.req()) :: result(Antikythera.Http.Method.t())
Specs
path_info(:cowboy_req.req()) :: Antikythera.PathInfo.t()
Specs
query_params(:cowboy_req.req(), routing_info()) :: result(Antikythera.Http.QueryParams.t())
Specs
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()}})
Specs
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()