Files
CommunitySolidServer/src/ldp/http/ResponseWriter.ts
Joachim Van Herwegen aaba113563 fix: Set max-len to 120
2020-07-24 15:10:34 +02:00

11 lines
440 B
TypeScript

import { AsyncHandler } from '../../util/AsyncHandler';
import { HttpResponse } from '../../server/HttpResponse';
import { ResponseDescription } from '../operations/ResponseDescription';
/**
* Writes to the HttpResponse.
* Response depends on the operation result and potentially which errors was thrown.
*/
export abstract class ResponseWriter
extends AsyncHandler<{ response: HttpResponse; result: ResponseDescription | Error }> {}