Effect CommunityEC
Effect Community17mo ago
23 replies
bjacobso

How to Obtain a Web Handler from HttpApiBuilder for Remix Routes

Hi, what is the recommended way to get a web handler from an HttpApiBuilder using the new HttpApi? I see HttpApiBuilder.serve and HttpApiBuilder.httpApp but its unclear to me how to get a handler. I see the example for creating a server, but I am using that handler in a remix route, so need something that takes a request and can return a response.
Was this page helpful?