This repository provides a sample gRPC plugin, written in Java, intended to work as part of Tyk. Gradle is used.
A simple request dispatcher is implemented, based on Tyk custom middleware hooks logic. A class implements the required hook methods.
This plugin implements a single hook, it performs a header injection, you may see the code here.
gradle run
The manifest.json
file describes the hooks implemented by this plugin, to use it you must generate a bundle and load it into your Tyk API settings, this guide will walk you through the process.