Effect CommunityEC
Effect Community13mo ago
4 replies
garrett

Difference Between `HttpApi` and `HttpRouter` in Effect Typescript Library

I am a bit confused between the difference of HttpApi and HttpRouter. It seems like HttpApi uses the router under the hood but is more complicated to setup? Is this just to give you definitions for success, errors, etc?
Was this page helpful?