HTTPill v0.2.2 HTTPill.Adapter behaviour View Source
This module defines the behaviour which all HTTPill adapters must follow
Link to this section Summary
Callbacks
Handles the adapter_response
which is teh result of from issue_request/2
Issues the given request
through the implemented adapter
Link to this section Types
Link to this type
after_process_async_response()
View Source
after_process_async_response() :: function
Link to this section Callbacks
Link to this callback
handle_response(adapter_response, arg1, arg2, before_process_response, after_process_response)
View Source
handle_response(adapter_response, HTTPill.Request.t, HTTPill.Config.t, before_process_response, after_process_response) :: HTTPill.response
Handles the adapter_response
which is teh result of from issue_request/2
Must call before_process_response
and after_process_response
callbacks
Link to this callback
issue_request(arg0, before_process_response, after_process_response)
View Source
issue_request(HTTPill.Request.t, before_process_response, after_process_response) :: adapter_response
Issues the given request
through the implemented adapter