How to distinguish inbound and outbound request grpc in zeebe gateway interceptor?

I have gateway interceptor classs. How to distinguish inbound and outbound request from grpc request: header, request message ,… ? Anyone has solution ?