File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ Attributes below can be configured in the plugin:
102102
103103| Name | Type | Requirement | Default | Valid | Description |
104104| --------------------------------------| ------------| -------------- | -------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
105- | conf | string | required | | != "" | the plugin ctx configuration which can be fetched via Proxy Wasm SDK |
105+ | conf | string or object | required | | != "" and != {} | the plugin ctx configuration which can be fetched via Proxy Wasm SDK |
106106
107107Here is the mapping between Proxy Wasm callbacks and APISIX's phases :
108108
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ curl -i http://127.0.0.1:9180/apisix/admin/routes/1 -H "X-API-KEY: $admin_key" -
6363
6464|名称 | 类型 | 要求 | 默认 | 有效 | 描述|
6565|---|---|---|---|---|---|
66- |conf|字符串 | 必填 | 无 | 不得为空 |插件 ctx 配置,可以通过 Proxy Wasm SDK 获取|
66+ |conf|字符串或结构体 | 必填 | 无 | 不得为空 |插件 ctx 配置,可以通过 Proxy Wasm SDK 获取|
6767
6868这里是 Proxy Wasm 回调与 APISIX 阶段的映射:
6969
You can’t perform that action at this time.
0 commit comments