ex_aliyun_openapi v0.4.0 ExAliyunOpenapi.Middleware View Source
Middlewares for Aliyun OpenAPI.
- Common args are added in middlewares. You should pass addition args by ExAliyunOpenapi functions.
Link to this section Summary
Functions
Invoked when a requset runs.
Link to this section Functions
Link to this function
call(env, next, opts) View Source
Invoked when a requset runs.
- (optionally) read and/or writes request data
- calls
Tesla.run/2
- (optionally) read and/or writes response data
Arguments
env
-Tesla.Env
struct that stores request/response datanext
- middlewares that should be called after current oneoptions
- middleware options provided by user
Callback implementation for Tesla.Middleware.call/3
.