Kayrock.Request protocol (kayrock v1.0.0-rc1)

Copy Markdown View Source

Summary

Types

t()

@type t() :: t()

Functions

api_vsn(struct)

@spec api_vsn(t()) :: non_neg_integer()

response_deserializer(struct)

@spec response_deserializer(t()) :: (binary() -> {map(), binary()})

serialize(struct)

@spec serialize(t()) :: iodata()