mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 11:54:21 +08:00
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:
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@@ -65,6 +65,8 @@
|
||||
"streambuf": "cpp",
|
||||
"typeinfo": "cpp",
|
||||
"variant": "cpp",
|
||||
"algorithm": "cpp"
|
||||
"algorithm": "cpp",
|
||||
"span": "cpp",
|
||||
"unordered_set": "cpp"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user