API Reference gRPC Server v#1.0.0

Copy Markdown View Source

Modules

GRPC is a fully featured Elixir implementation of the gRPC protocol (grpc.io), enabling efficient communication between services through a unified and stream-oriented API. It supports all RPC types, friendly error handling, TLS, interceptors, reflection, and optional HTTP transcoding.

GRPC endpoint for multiple servers and interceptors.

protoc plugin for generating Elixir code.

A gRPC server which handles requests by calling user-defined functions.

HTTP server adapter for GRPC.

A server (b:GRPC.Server.Adapter) adapter using :cowboy.

A cowboy handler accepting all requests and calls corresponding functions defined by users.

Exception raised by server adapter, meant to be used as part of metadata crash_report

Interceptor on server side. See GRPC.Endpoint.

Sends CORS headers when the client is using RPC via Web transcoding or gRPC-web.

Print log around server rpc calls, like

A struct as an argument that servers get in rpc function definitions and use to handle headers, send streaming replies.

A simple supervisor to start your servers.

Interceptor on server side. See GRPC.Endpoint.

Provides a Flow-based abstraction layer for building gRPC streaming pipelines in Elixir.

Useful and internal functions for manipulating streams.