Skip to content

请问如何编写插件? 文档没有看明白 #4329

@NMSAzulX

Description

@NMSAzulX

如题:

  1. 我看到 https://github.com/apache/apisix/blob/master/apisix/plugins/openid-connect.lua 中有很多方法, 请问哪些是管道最开始执行的方法?

  2. 如果插件方法需要终止管道并且返回401, 该使用什么方法终止管道继续运行?

  3. 如何管理插件类及管道的生命周期?

  4. 如何在已配置路由映射的情况下, 使用插件终止转发并返回插件中的结果?

  5. 是否支持其他语言编写插件, 是否有传送门列表?

感谢 Apisix!

Metadata

Metadata

Assignees

No one assigned

    Labels

    docDocumentation things

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions