Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http4s support #164

Open
vasiliybondarenko opened this issue Nov 11, 2019 · 2 comments
Open

Http4s support #164

vasiliybondarenko opened this issue Nov 11, 2019 · 2 comments

Comments

@vasiliybondarenko
Copy link

It would be nice to support at least http4s beyond current Akka http.

@Odomontois
Copy link
Member

I agree.
Moreover, I suppose it's time to define generic formulation, i.e. having the request type as parameter, to have all the F[_] goodness without m * n problem.
Other frameworks (tapir, typedapi, etc.) solve this problem introducing universal request\response types, but I believe it greatly limits use of existing solutions for akka-http\http4s\finagle in the middleware and atom implementations.
So the best thing now would be introducing

trait Routed[F[_], Req]

trait HttpRequest[Req]

to build a unified model for all major Http implementations

@REDNBLACK
Copy link
Collaborator

WIP #479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants