Alanxtl commented on code in PR #688:
URL: https://github.com/apache/dubbo-go-pixiu/pull/688#discussion_r2173785812
##########
pkg/common/extension/filter/filter.go:
##########
@@ -97,6 +99,15 @@ type (
OnData(data any) (any, error)
// OnTripleData triple rpc invocation from triple-server
OnTripleData(ctx context.Context, methodName string, arguments
[]any) (any, error)
+ // OnUnaryRPC handles a unary RPC call.
+ OnUnaryRPC(ctx context.Context, fullMethod string, req any)
(any, error)
+ // OnStreamRPC handles a streaming RPC call.
+ // In gRPC, a Unary call is fundamentally a special,
short-lived case of a stream.
Review Comment:
```suggestion
// In gRPC, an Unary call is fundamentally a special,
short-lived case of a stream.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]