feral icon indicating copy to clipboard operation
feral copied to clipboard

Integrate http4s WebSocket app with AWS Lambda API Gateway

Open armanbilge opened this issue 1 year ago • 2 comments

Similarly to our existing http4s integration which allows to deploy an HttpApp as handler of AWS Lambda API Gateway events, it would be useful to have an integration for deploying a WebSocket app. Integrating with http4s would make it seamless to move applications between serverless and server deployments.

However, one important question is how the lifecycle is managed i.e. does the same Lambda instance handle the entirety of a WebSocket connection? If so, then we can be stateful across events and implement the handler with Stream/Pipe. Otherwise, I'm not entirely certain what the API should look like.

armanbilge avatar Jul 09 '24 05:07 armanbilge

hey i am begineer how can i solve this issue

VAIBHAVSING avatar Mar 10 '25 08:03 VAIBHAVSING

@VAIBHAVSING thanks for your interest! I think this issue is a bit challenging for a beginner. May I suggest that you look at this one?

  • https://github.com/typelevel/feral/issues/48

armanbilge avatar Mar 10 '25 22:03 armanbilge