hackney_conn_sup (hackney v4.0.2)
View SourceSupervisor for hackney_conn connection processes.
This is a simple_one_for_one supervisor that dynamically starts hackney_conn gen_statem processes for each connection.
Summary
Functions
Start a new connection process. Opts is a map with at least host, port, and transport.
Start the supervisor.
Stop all connection processes gracefully. Useful for test cleanup.
Stop a connection process gracefully.
Functions
Start a new connection process. Opts is a map with at least host, port, and transport.
Start the supervisor.
-spec stop_all() -> ok.
Stop all connection processes gracefully. Useful for test cleanup.
-spec stop_conn(pid()) -> ok.
Stop a connection process gracefully.