event¶
event¶
Event is used to add customized hook functions which would be called before or after An api calling.
Archer provides 3 events before_api_call, after_api_call,
tear_down_api_call
- for after_api_call,it would take one argument,
- which is an instance of
ApiMeta - it receives two arguments, first is instance of
ApiMetaand the second is instance ofApiResultMeta.