ankh v0.4.2 Ankh.Stream
HTTP/2 stream process
Process implementing the HTTP/2 stream state machine
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Process a received frame for the stream
Reserves the stream for push_promise
Process and send a frame on the stream
Starts a new stream fot the provided connection
Link to this section Types
Stream HBF type
Stream mode
Reserve mode
Link to this type
state()
state() :: :idle | :open | :closed | :half_closed_local | :half_closed_remote | :reserved_remote | :reserved_local
Stream states
Stream process
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Process a received frame for the stream
Reserves the stream for push_promise
Process and send a frame on the stream
Link to this function
start_link(connection, id, recv_table, send_table, max_frame_size, controlling_process \\ nil, mode \\ :reassemble)
start_link( Ankh.Connection.t(), Integer.t(), pid(), pid(), Integer.t(), pid() | nil, mode() ) :: GenServer.on_start()
Starts a new stream fot the provided connection