mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
15 lines
546 B
TypeScript
15 lines
546 B
TypeScript
import type { Operation } from '../http/Operation';
|
|
import type { ResponseDescription } from '../http/output/response/ResponseDescription';
|
|
import { AsyncHandler } from '../util/handlers/AsyncHandler';
|
|
import type { HttpHandlerInput } from './HttpHandler';
|
|
|
|
export interface OperationHttpHandlerInput extends HttpHandlerInput {
|
|
operation: Operation;
|
|
}
|
|
|
|
/**
|
|
* An HTTP handler that makes use of an already parsed Operation.
|
|
*/
|
|
export abstract class OperationHttpHandler
|
|
extends AsyncHandler<OperationHttpHandlerInput, ResponseDescription> {}
|