From 886be64bcf7b274b7fefcf58425d04c31d87de07 Mon Sep 17 00:00:00 2001 From: zll600 <71714656+zll600@users.noreply.github.com> Date: Fri, 15 Nov 2024 10:57:17 +0800 Subject: [PATCH] docs: complement package name to variables' types (#799) --- .../zh-hans/docs/developer-guide/plugin_development.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/content/zh-hans/docs/developer-guide/plugin_development.md b/site/content/zh-hans/docs/developer-guide/plugin_development.md index 01d86d4c..bd4b064a 100644 --- a/site/content/zh-hans/docs/developer-guide/plugin_development.md +++ b/site/content/zh-hans/docs/developer-guide/plugin_development.md @@ -118,8 +118,8 @@ filter manager 实现了以下特性: 因此,我们引入了一组新类型: * `WaitAllData`: 由 `DecodeHeaders` 或 `EncodeHeaders` 返回的 `ResultAction` -* `DecodeRequest(headers api.RequestHeaderMap, data api.BufferInstance, trailers api.RequestTrailerMap) ResultAction` -* `EncodeResponse(headers ResponseHeaderMap, data BufferInstance, trailers ResponseTrailerMap) ResultAction` +* `DecodeRequest(headers api.RequestHeaderMap, data api.BufferInstance, trailers api.RequestTrailerMap) api.ResultAction` +* `EncodeResponse(headers api.ResponseHeaderMap, data api.BufferInstance, trailers api.ResponseTrailerMap) api.ResultAction` `WaitAllData` 可用于根据配置和 headers 决定是否需要缓冲 body。