Use Gluegun to make HTTP/1.1 and HTTP/2 requests, stream responses, and open WebSocket connections from Gleam. It wraps Erlang’s Gun client with typed connection, request, response, and message helpers while retaining Gun’s stream-oriented API.
Gluegun targets Erlang only. You can install the 1.0 release candidate from Hex. It remains experimental during release-candidate testing. The project uses Trellis for releases.