mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Restructure source code folder
This way the location of certain classes should make more sense
This commit is contained in:
8
src/http/input/identifier/TargetExtractor.ts
Normal file
8
src/http/input/identifier/TargetExtractor.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { HttpRequest } from '../../../server/HttpRequest';
|
||||
import { AsyncHandler } from '../../../util/handlers/AsyncHandler';
|
||||
import type { ResourceIdentifier } from '../../representation/ResourceIdentifier';
|
||||
|
||||
/**
|
||||
* Extracts a {@link ResourceIdentifier} from an incoming {@link HttpRequest}.
|
||||
*/
|
||||
export abstract class TargetExtractor extends AsyncHandler<{ request: HttpRequest }, ResourceIdentifier> {}
|
||||
Reference in New Issue
Block a user