Packages

Library providing the capability to process and perform RTMP handshakes

Current section

Files

Jump to
eml_rtmp_handshake lib rtmp_handshake parse_result.ex
Raw

lib/rtmp_handshake/parse_result.ex

defmodule RtmpHandshake.ParseResult do
@moduledoc """
Represents the current results from a parse operation
"""
@type t :: %RtmpHandshake.ParseResult{
current_state: :waiting_for_data | :failure | :success,
bytes_to_send: <<>>
}
defstruct current_state: :waiting_for_data,
bytes_to_send: <<>>
end