feat: ssh auth, protocol management, and cleanup

This commit is contained in:
infosave2007 committed 2026-01-23 17:55:40 +03:00
1 parent 4995147bad
commit ea82b78a7d
70 files changed
+16225 -986

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ class Router {
}
public static function get(string $pattern, callable $handler): void { self::add('GET', $pattern, $handler); }
public static function post(string $pattern, callable $handler): void { self::add('POST', $pattern, $handler); }
public static function put(string $pattern, callable $handler): void { self::add('PUT', $pattern, $handler); }
public static function delete(string $pattern, callable $handler): void { self::add('DELETE', $pattern, $handler); }
private static function normalizePattern(string $pattern): string {