Interface: IMethod

IMethod

Method descriptor.

Properties:
type string <optional>
"rpc"

Method type

requestType string

Request type

responseType string

Response type

requestStream boolean <optional>
false

Whether requests are streamed

responseStream boolean <optional>
false

Whether responses are streamed

options Object<string, *> <optional>

Method options

comment string | null <optional>

Method comment

parsedOptions Array<Object<string, *>> <optional>

Method options properly parsed into objects