exbuf_plug v0.0.4 ExbufPlug

A plug to convert request information into protobufs

We look for a header called x-protobuf and a binary body. We decode these into application specific protobufs to be used throughout the rest of the request

Summary

Functions

We fetch param_key from options With this params_key we use it to fetch in the base64 string from the plug’s params

Functions

call(conn, options)
decode_into_proto_struct(conn)
init(options)

We fetch param_key from options With this params_key we use it to fetch in the base64 string from the plug’s params