exrequester v0.0.1 EXRequester.Performer behaviour
Behaviour that defines a request performer
Summary
Callbacks
Performs a request
Callbacks
Specs
do_request(request :: %EXRequester.Request{base_url: term, body: term, headers_template: term, method: term, path: term, query_keys: term}, params :: [{:atom, String.t}]) :: %HTTPotion.Response{body: term, headers: term, status_code: term}
Performs a request
method
- the http methodclient
- The http clienturl
- The url to requestparams
- params to be filled in the url