* Refactor various parts of the HttpListener to support Blazor loading
* Add logging for WebSocket requests
* Add better handling for WebSockets not belonging to SPT
* Remove unecessary check
* Remove check as it's already handled earlier now
* Cleanup
* Set delegate
* Add edge case for Reverse Proxies
* Cleanup HttpListener, remove unecessary MemoryStreams
* Handle with IPAddress instead of string
* Handle nullabiity of RouteAction, tighten typing on requests
* Cleanup HttpRouter
* Use tighter typing on Routers
* Fingers crossed this will fix the mod loading issue for configs
* Renamed classes and documentation for clarity
* Remove some extra traces of the old PreSptLoader
* Renamed interface for clarity and updated docs
* Re-introduced PreSptModLoad for now
---------
Co-authored-by: Alex <clodanSPT@hotmail.com>
* Changed application to use background services and removed hacky http server startup
* Small improvements and method removals
* Removed Core dependency on Web application SDK
* Fixed wrong imported type
---------
Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
* Added missing import for reflection /bonk
* Implemented bundles.json loading directly into program.cs
`IsBundleMod` is now read from all loaded mods metadata, and if set to true the bundles.json is read from the mod directory.
* re-assign the sorted valid mods to the loadedMods list
since ValidateMods returns the sortedLoadedMods, this is the list of mods we should be passing to our other spots
---------
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>