View Source SpiderMan.Requester behaviour (spider_man v0.6.3)

A Requester use by downloader component

Summary

Callbacks

prepare_for_start(arg, options)

(optional)
@callback prepare_for_start(arg :: any(), options) :: options when options: keyword()

prepare_for_stop(options)

(optional)
@callback prepare_for_stop(options :: keyword()) :: :ok

request(url, options, context)

@callback request(url :: binary(), options :: [Tesla.option()], context :: map()) ::
  Tesla.Env.result()

Functions

append_default_middlewares(bool, requester_options)

prepare_for_start(options)

prepare_for_stop(options)