GenSpoxy v0.0.14-beta.2 Spoxy.Prerender.Behaviour behaviour View Source

executing the request itself

Link to this section Summary

Callbacks

calculating the request signature (must be a deterministic calculation) i.e: given a req input, always returns the same req_key

Link to this section Callbacks

Link to this callback calc_req_key(req) View Source
calc_req_key(req :: any()) :: String.t()

calculating the request signature (must be a deterministic calculation) i.e: given a req input, always returns the same req_key

Link to this callback do_req(req) View Source
do_req(req :: any()) :: {:ok, any()} | {:error, any()}