grpc_cli-call - Man Page

grpc_cli call – call method

Synopsis

grpc_cli call address [service[.method]] request [OPTION]...

Options

address

host:port

service

Exported service name

method

Method name

request

Text protobuffer (overrides --infile)

--protofiles

Comma separated proto files used as a fallback when parsing request/response

--proto_path

The search paths of proto files (: separated), valid only when --protofiles is given

--noremotedb

Don’t attempt to use reflection service at all

--metadata

The metadata to be sent to the server

--infile

Input filename (defaults to stdin)

--outfile

Output filename (defaults to stdout)

--binary_input

Input in binary format

--binary_output

Output in binary format

--json_input

Input in json format

--json_output

Output in json format

--timeout

Specify timeout (in seconds), used to set the deadline for RPCs. The default value of -1 means no deadline has been set.

--ssl_target

Set server host for ssl validation

--ssl_client_cert

Client cert for ssl

--ssl_client_key

Client private key for ssl

--local_connect_type

Set to local_tcp or uds

--channel_creds_type

Set to insecure, ssl, gdc, alts, or local

--call_creds

Set to none, or access_token=token

See Also

grpc_cli(1), grpc_cli-ls(1), grpc_cli-type(1), grpc_cli-parse(1), grpc_cli-totext(1), grpc_cli-tojson(1), grpc_cli-tobinary(1), grpc_cli-help(1)

Referenced By

grpc_cli(1), grpc_cli-help(1), grpc_cli-ls(1), grpc_cli-parse(1), grpc_cli-tobinary(1), grpc_cli-tojson(1), grpc_cli-type(1).

May 2021