跳至正文
Wener Notes

Asterisk REST Interface (ARI)

约 1 分钟阅读
标签:AsteriskARIHTTP

The basic flow of an HTTP request is

  • ast_ari_callback()
    1. Initial request validation
    2. Routes as either a doc request (ast_ari_get_docs) or API request (ast_ari_invoke)
    • ast_ari_invoke()
      1. Further request validation
      2. Routes the request through the tree of generated \ref stasis_rest_handlers.
      3. Dispatch to the generated callback
        • \c astari*_cb
          1. Populate \c *_args struct with path and get params
          2. Invoke the request handler
    1. Validates and sends response

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

其他外链3 条
最近更新commit 906e816编辑