Refactor: Convert HTTP hooks from static methods to interface-based architecture. v7.0.58 (#4444)

This PR refactors the HTTP hooks system from static methods to a proper
interface-based architecture, improving code maintainability,
testability, and extensibility.

1. **Testability**: Interface allows easy mocking for unit tests
1. **Extensibility**: Custom hook implementations can be injected
1. **Maintainability**: Clear separation of concerns and better code
organization
1. **Documentation**: Comprehensive inline documentation for all hook
methods
1. **Future-proofing**: Enables plugin architecture and custom hook
handlers

---------

Co-authored-by: OSSRS-AI <winlinam@gmail.com>
This commit is contained in:
Winlin
2025-08-19 23:10:14 -06:00
committed by GitHub
parent 3f57ca5966
commit f20a1eae84
16 changed files with 190 additions and 91 deletions

View File

@@ -65,6 +65,8 @@
"streambuf": "cpp",
"typeinfo": "cpp",
"variant": "cpp",
"algorithm": "cpp"
"algorithm": "cpp",
"span": "cpp",
"unordered_set": "cpp"
}
}