插件類型及代碼對照表
更新時間 2025-04-23 15:38:23
最近更新時間: 2025-04-23 15:38:23
分享文章
路由級插件類型、代碼對照關系表
當要求subPluginType傳入String時,填寫pluginName值;當要求subPluginType傳入Integer時,填寫pluginCode值。
| 路由級插件 | 插件名稱pluginName | 插件代碼pluginCode |
|---|---|---|
| cors | cors | 14 |
| basic-auth | basic-auth | 28 |
| key-auth | key-auth | 30 |
| proxy-cache | proxy-cache | 38 |
| proxy-rewrite | proxy-rewrite | 39 |
| limit-conn | limit-conn | 42 |
| limit-count | limit-count | 43 |
| header-rewrite | header-rewrite | 1003 |
| proxy-cookie | proxy-cookie | 1006 |
| limit-count-by-client | limit-count-by-client | 1010 |