GRPC.Codec behaviour (grpc v0.6.3-git-c634) View Source

Contains code to serialize a deserialize the message.

Link to this section Summary

Callbacks

Name is identity of the codec, which will be suffix after content-type "application/grpc+" such as "proto".

Link to this section Callbacks

Specs

decode(any(), module :: atom()) :: any()

Specs

encode(any()) :: binary()

Specs

name() :: String.t()

Name is identity of the codec, which will be suffix after content-type "application/grpc+" such as "proto".