Effect CommunityEC
Effect Community•11mo ago•
1 reply
thewilkybarkid

Proposal to Add an `HttpStatusCode` Module to Effect Library

Would you accept a HttpStatusCode module? I've been using hyper-ts's Status object/type, but as part of moving to Effect I've looked at alternatives. The http-status-code module exists and seems the most used, but it uses enums which is problematic (and has other issues like using HTTP/1.0 names and seems unmaintained). I'm imagining HttpStatusCode would be similar to HttpMethod in shape, but with constants like HttpStatusCode.OK. I'm happy to open a PR, but I just wanted to check before starting. 🙂
Was this page helpful?