mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Implement empty canHandle on base class. (#289)
This commit is contained in:
@@ -12,10 +12,6 @@ const handle = async(input: { request: HttpRequest; response: HttpResponse }): P
|
||||
};
|
||||
|
||||
class SimpleHttpHandler extends HttpHandler {
|
||||
public async canHandle(): Promise<void> {
|
||||
// Supports all HttpRequests
|
||||
}
|
||||
|
||||
public async handle(input: { request: HttpRequest; response: HttpResponse }): Promise<void> {
|
||||
return handle(input);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user