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

A Requester use by downloader component

Summary

Callbacks

Link to this callback

prepare_for_start(arg, options)

View Source (optional)
@callback prepare_for_start(arg :: any(), options) :: options when options: keyword()
Link to this callback

prepare_for_stop(options)

View Source (optional)
@callback prepare_for_stop(options :: keyword()) :: :ok
Link to this callback

request(url, options, context)

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

Functions

Link to this function

append_default_middlewares(bool, requester_options)

View Source
Link to this function

prepare_for_start(options)

View Source
Link to this function

prepare_for_stop(options)

View Source