gRPC
gRPC operations have some specialties. For example, gRPC supports multiple requests and responses in an operation. In addition, a Kreya gRPC operation must always correspond to a service method of the gRPC service and the protobuf definitions have to be imported.
Creating a gRPC operation
Add a new operation by clicking the icon. Next, choose a descriptive name for your operation and hit enter.
After that, the operation will open in a new tab, where you can select the gRPC method in the operation header. If you haven't created an importer yet, you can do so in the importer settings (Ctrl+⇧+i).
Sending requests manually
In case of bidirectional or client-streaming methods, operations may contain multiple requests. By default, sending (or "invoking") an operation with multiple requests will send them one after another as soon as possible. If this does not suit you, select the 'Send requests manually' option from the 'Send' button dropdown. With it, you have complete control over the sending of requests.
Modifying gRPC requests
Request contents can be modified by editing the JSON content directly in the editor. Adding requests is possible with the 'Add request' button, if the current operation supports multiple requests. To delete requests, hover over the requests header and click the trash can icon twice.