View Source ExAzureSpeech.Common.Protocols.SocketMessage protocol (ex_azure_speech v0.1.1)

Defines a protocol for building a message to be sent over a socket.

Summary

Types

t()

All the types that implement this protocol.

Functions

Builds a message to be sent over a socket.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

build_message(payload, id)

View Source

Builds a message to be sent over a socket.