View Source ExVCR.Adapter.Httpc (exvcr v0.15.2)
Provides adapter methods to mock :httpc methods.
Link to this section Summary
Functions
Default definitions for stub.
Generate key for searching response.
Returns the response from the ExVCR.Response record.
Callback from ExVCR.Handler when response is retrieved from the json file cache.
Callback from ExVCR.Handler when response is retrieved from the HTTP server.
Returns the name of the mock target module.
Returns list of the mock target methods with function name and callback. Implementation for global mock. TODO
Returns list of the mock target methods with function name and callback. TODO
Link to this section Functions
Default definitions for stub.
Generate key for searching response.
Returns the response from the ExVCR.Response record.
Callback from ExVCR.Handler when response is retrieved from the json file cache.
Callback from ExVCR.Handler when response is retrieved from the HTTP server.
Returns the name of the mock target module.
Returns list of the mock target methods with function name and callback. Implementation for global mock. TODO:
{:request, &ExVCR.Recorder.request(recorder, [&1,&2])}
{:request, &ExVCR.Recorder.request(recorder, [&1,&2,&3,&4,&5])}
Returns list of the mock target methods with function name and callback. TODO:
{:request, &ExVCR.Recorder.request(recorder, [&1,&2])}
{:request, &ExVCR.Recorder.request(recorder, [&1,&2,&3,&4,&5])}