* 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
* 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>
Convert constructors into primary constructors
Simplified logic with use of ??, ??= and method groups
Cleaned up redundant conditional access qualifiers
* Move Router, Callbacks and GetResponse over to ValueTask
* Assign empty deserializedObject for now, keep todo
* Cleanup GetResponse
* Re-add logger for request