Skip to content

Commit 361eb06

Browse files
authored
Remove WasmHeaderMapType::GrpcCreateInitialMetadata. (proxy-wasm#5)
Signed-off-by: John Plevyak <jplevyak@gmail.com>
1 parent f8484b0 commit 361eb06

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

proxy_wasm_common.h

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,15 @@ inline std::string toString(WasmResult r) {
7676
#undef _CASE
7777

7878
enum class WasmHeaderMapType : int32_t {
79-
RequestHeaders = 0, // During the onLog callback these are immutable
80-
RequestTrailers = 1, // During the onLog callback these are immutable
81-
ResponseHeaders = 2, // During the onLog callback these are immutable
82-
ResponseTrailers = 3, // During the onLog callback these are immutable
83-
GrpcCreateInitialMetadata = 4,
84-
GrpcReceiveInitialMetadata = 5, // Immutable
85-
GrpcReceiveTrailingMetadata = 6, // Immutable
86-
HttpCallResponseHeaders = 7, // Immutable
87-
HttpCallResponseTrailers = 8, // Immutable
88-
MAX = 8,
79+
RequestHeaders = 0, // During the onLog callback these are immutable
80+
RequestTrailers = 1, // During the onLog callback these are immutable
81+
ResponseHeaders = 2, // During the onLog callback these are immutable
82+
ResponseTrailers = 3, // During the onLog callback these are immutable
83+
GrpcReceiveInitialMetadata = 4, // Immutable
84+
GrpcReceiveTrailingMetadata = 5, // Immutable
85+
HttpCallResponseHeaders = 6, // Immutable
86+
HttpCallResponseTrailers = 7, // Immutable
87+
MAX = 7,
8988
};
9089
enum class WasmBufferType : int32_t {
9190
HttpRequestBody = 0, // During the onLog callback these are immutable

0 commit comments

Comments
 (0)