encode
Encodes the given payload. This is applied after serialization.
Return
a future completed with the encoded payload
Parameters
payload
the payload to encode. Empty slices must be handled as well.
Encodes the given payload. This is applied after serialization.
a future completed with the encoded payload
the payload to encode. Empty slices must be handled as well.