// Invoke sends the RPC request on the wire and returns after response is // received. This is typically called by generated code. // // All errors returned by Invoke are compatible with the status package. func (cc *ClientConn) Invoke(ctx context.Context, method string, args, reply any, opts ...CallOption) error { … } func combine(o1 []CallOption, o2 []CallOption) []CallOption { … } // Invoke sends the RPC request on the wire and returns after response is // received. This is typically called by generated code. // // DEPRECATED: Use ClientConn.Invoke instead. func Invoke(ctx context.Context, method string, args, reply any, cc *ClientConn, opts ...CallOption) error { … } var unaryStreamDesc … func invoke(ctx context.Context, method string, req, reply any, cc *ClientConn, opts ...CallOption) error { … }