Logo
NeoArc Studio

Services and Methods

Define gRPC services with interceptor chains and methods covering all four streaming patterns.

gRPC organises APIs into services - logical groupings of related RPC methods. Each method has a defined request type, response type, and streaming behaviour. NeoArc's visual editors make it easy to configure all aspects of services and methods without editing proto files directly.

Streaming Types

gRPC supports four streaming patterns, each suited to different use cases.

Unary Method Example

The simplest pattern - one request, one response. CreateOrder demonstrates a unary method with request validation, error handling, and HTTP transcoding.

Server Streaming Example

The server sends a stream of responses for a single request. ListOrders streams order records, allowing the client to process them incrementally.

Interceptor Chains

Interceptors are middleware components that process requests and responses at the service level. They run in a defined order and can be overridden at the method level.