2021-03-22 22:34:21 +00:00
|
|
|
.TH GRPC_CLI\-CALL "1" "May 2021" "" "User Commands"
|
|
|
|
.SH NAME
|
|
|
|
.B grpc_cli\ call
|
|
|
|
\(en call method
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B grpc_cli call
|
|
|
|
.I address
|
|
|
|
.RI [ service [\fB. method ]]
|
2021-09-09 17:56:26 +00:00
|
|
|
.I request
|
2021-03-22 22:34:21 +00:00
|
|
|
.RI [ OPTION ]...\:
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.I address
|
|
|
|
.IB host : port
|
|
|
|
.TP
|
|
|
|
.I service
|
|
|
|
Exported service name
|
|
|
|
.TP
|
|
|
|
.I method
|
|
|
|
Method name
|
|
|
|
.TP
|
|
|
|
.I request
|
|
|
|
Text protobuffer (overrides
|
|
|
|
.BR \-\-infile )
|
|
|
|
.TP
|
|
|
|
.B \-\-protofiles
|
|
|
|
Comma separated proto files used as a fallback when parsing request/response
|
|
|
|
.TP
|
|
|
|
.B \-\-proto_path
|
|
|
|
The search paths of proto files
|
|
|
|
.RB ( :
|
|
|
|
separated), valid only when
|
|
|
|
.B \-\-protofiles
|
|
|
|
is given
|
|
|
|
.TP
|
|
|
|
.B \-\-noremotedb
|
|
|
|
Don\(cqt attempt to use reflection service at all
|
|
|
|
.TP
|
|
|
|
.B \-\-metadata
|
|
|
|
The metadata to be sent to the server
|
|
|
|
.TP
|
|
|
|
.B \-\-infile
|
|
|
|
Input filename (defaults to
|
|
|
|
.IR stdin )
|
|
|
|
.TP
|
|
|
|
.B \-\-outfile
|
|
|
|
Output filename (defaults to
|
|
|
|
.IR stdout )
|
|
|
|
.TP
|
|
|
|
.B \-\-binary_input
|
|
|
|
Input in binary format
|
|
|
|
.TP
|
|
|
|
.B \-\-binary_output
|
|
|
|
Output in binary format
|
|
|
|
.TP
|
|
|
|
.B \-\-json_input
|
|
|
|
Input in json format
|
|
|
|
.TP
|
|
|
|
.B \-\-json_output
|
|
|
|
Output in json format
|
|
|
|
.TP
|
|
|
|
.B \-\-timeout
|
|
|
|
Specify timeout (in seconds), used to set the deadline for RPCs.
|
|
|
|
The default value of
|
|
|
|
.B \-1
|
|
|
|
means no deadline has been set.
|
|
|
|
.TP
|
|
|
|
.B \-\-ssl_target
|
|
|
|
Set server host for ssl validation
|
|
|
|
.TP
|
|
|
|
.B \-\-ssl_client_cert
|
|
|
|
Client cert for ssl
|
|
|
|
.TP
|
|
|
|
.B \-\-ssl_client_key
|
|
|
|
Client private key for ssl
|
|
|
|
.TP
|
|
|
|
.B \-\-local_connect_type
|
|
|
|
Set to
|
|
|
|
.B local_tcp
|
|
|
|
or
|
|
|
|
.B uds
|
|
|
|
.TP
|
|
|
|
.B \-\-channel_creds_type
|
|
|
|
Set to
|
|
|
|
.BR insecure ,
|
|
|
|
.BR ssl ,
|
|
|
|
.BR gdc ,
|
|
|
|
.BR alts ,
|
|
|
|
or
|
|
|
|
.B local
|
|
|
|
.TP
|
|
|
|
.B \-\-call_creds
|
|
|
|
Set to
|
|
|
|
.BR none ,
|
|
|
|
or
|
|
|
|
.BI access_token= token
|
|
|
|
.SH "SEE\ ALSO"
|
|
|
|
.BR grpc_cli (1),
|
|
|
|
.BR grpc_cli\-ls (1),
|
|
|
|
.BR grpc_cli\-type (1),
|
|
|
|
.BR grpc_cli\-parse (1),
|
|
|
|
.BR grpc_cli\-totext (1),
|
|
|
|
.BR grpc_cli\-tojson (1),
|
|
|
|
.BR grpc_cli\-tobinary (1),
|
|
|
|
.BR grpc_cli\-help (1)
|