Twirp v0.4.1 API Reference

Modules

Twirp provides an elixir implementation of the twirp rpc framework developed by Twitch. The protocol defines semantics for routing and serialization of RPCs based on protobufs.

This module defines the different error codes as specified in https://twitchtv.github.io/twirp/docs/spec_v5.html#error-codes.

Provides a plug that takes service and handler module. If the request is directed at the "twirp" endpoint then the plug will intercept the conn and process it. Otherwise it allows the conn to pass through. This is a deviation from the twirp specification but it allows users to include twirp services into their existing plug stacks.

Provides a DSL and some convenience functions for defining twirp service definitions.

Provides telemetry for twirp clients and servers