View Source GRPC.Codec behaviour (grpc v0.5.0)

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

@callback decode(any(), module()) :: any()
@callback encode(any()) :: binary()
@callback name() :: String.t()

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