Divooka.HTTPServer

Divooka.HTTPServer.Kestrel

Zora's low-evel encapsulation of Kestrel, providing wide variety of usages.

Divooka.HTTPServer.Garbage.Main()

A main function for the assembly, doesn't do anything.

Divooka.HTTPServer.ProductionServer

This provides a hybrid between high-level and low-level usages (mostly targeting high-level). It's a minic of DevelopmentServer for API flavour.

Divooka.HTTPServer.ProductionServer.CustomStaticFileMiddleware

ASP.Net Core routing doesn't deal with static files by default (which is dumb), so we cannot just use "mapfallback". Instead, we use a middleware to implement custom logic. By the way this is all very hard to find documentation about - and eventually we figured this out with help of ChatGPT.

Divooka.HTTPServer.ProductionServer.DelegateToHandler()

Pack data and delegate http request to endpoint definition handler.

Divooka.HTTPServer.QuickServe.QuickAPIServer

Automatic deploy module as service. Serves given modules/types directly.

Divooka.HTTPServer.QuickServe.QuickAPIServer.Serve()

Remarks

Must make sure all needed assembly references are properly initialized

Divooka.HTTPServer.QuickServe.StaticFilesServer

Serves static files from specified folder.