Effect CommunityEC
Effect Community2y ago
9 replies
wayne

HttpServer.middleware that passes data to the handler

Is it possible to write a HttpServer.middleware that returns a http 401 if a particular header doesn't exist, parse that header and pass the resuilt on to the next handler, in a type-safe manner?
Was this page helpful?