File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed
Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,18 @@ struct PluginBase {
7777 *
7878 * 3) For testing and instrumentation the methods of ContextBase can be replaces or augmented.
7979 */
80- class ContextBase : public ContextInterface {
80+ class ContextBase : public RootInterface ,
81+ public HttpInterface,
82+ public NetworkInterface,
83+ public StreamInterface,
84+ public HeaderInterface,
85+ public HttpCallInterface,
86+ public GrpcCallInterface,
87+ public GrpcStreamInterface,
88+ public MetricsInterface,
89+ public SharedDataInterface,
90+ public SharedQueueInterface,
91+ public GeneralInterface {
8192public:
8293 ContextBase (); // Testing.
8394 ContextBase (WasmBase *wasm); // Vm Context.
Original file line number Diff line number Diff line change @@ -647,17 +647,4 @@ struct SharedQueueInterface {
647647 virtual WasmResult enqueueSharedQueue (SharedQueueEnqueueToken token, string_view data) = 0;
648648};
649649
650- struct ContextInterface : RootInterface,
651- HttpInterface,
652- NetworkInterface,
653- StreamInterface,
654- HeaderInterface,
655- HttpCallInterface,
656- GrpcCallInterface,
657- GrpcStreamInterface,
658- MetricsInterface,
659- SharedDataInterface,
660- SharedQueueInterface,
661- GeneralInterface {};
662-
663650} // namespace proxy_wasm
You can’t perform that action at this time.
0 commit comments