Requiem.StreamId (requiem v0.4.0)
Link to this section Summary
Link to this section Types
Link to this type
initiator()
Specs
initiator() :: :server | :client
Link to this type
orientation()
Specs
orientation() :: :bidi | :uni
Link to this section Functions
Link to this function
classify(stream_id)
Specs
classify(non_neg_integer()) :: {:ok, initiator(), orientation()} | :error
Link to this function
is_bidi?(stream_id)
Specs
is_bidi?(non_neg_integer()) :: boolean()
Link to this function
is_client_initiated?(stream_id)
Specs
is_client_initiated?(non_neg_integer()) :: boolean()
Link to this function
is_readable?(stream_id)
Specs
is_readable?(non_neg_integer()) :: boolean()
Link to this function
is_server_initiated?(stream_id)
Specs
is_server_initiated?(non_neg_integer()) :: boolean()
Link to this function
is_uni?(stream_id)
Specs
is_uni?(non_neg_integer()) :: boolean()
Link to this function
is_writable?(stream_id)
Specs
is_writable?(non_neg_integer()) :: boolean()