gleam-lang / suggestions

📙 A place for ideas and feedback
26 stars 2 forks source link

More capable HTTP client #124

Open CrowdHailer opened 3 years ago

CrowdHailer commented 3 years ago

A key part of the ecosystem. There exists a wrapper around httpc, which is useful for many usecase but not all. For example the caller is left to handle compression.

Is the obviously solution a hackney wrapper? Does something composable like Tesla make more/less sense in Gleam.

I've opened this issue mostly as a tracker for efforts in this area.

lpil commented 3 years ago

A hackney wrapper would be great! I could see that being a gleam-lang official project as it's so useful.

I think the HTTP library is already composable enough for most use cases, though there are few middleware for it at present.