Bandit.HTTP2.Handler (Bandit v0.3.6) View Source

An HTTP/2 handler. Responsible for:

  • Coordinating the parsing of frames & attendant error handling
  • Tracking connection state as represented by Bandit.HTTP2.Connection structs
  • Marshalling send requests from child streams into the parent connection for processing

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

handle_close(socket, state)

View Source

Callback implementation for ThousandIsland.Handler.handle_close/2.

Link to this function

handle_error(error, socket, state)

View Source

Callback implementation for ThousandIsland.Handler.handle_error/3.