mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
9 lines
385 B
TypeScript
9 lines
385 B
TypeScript
import { AsyncHandler } from '../../util/AsyncHandler';
|
|
import { HttpRequest } from '../../server/HttpRequest';
|
|
import { Representation } from '../representation/Representation';
|
|
|
|
/**
|
|
* Parses the body of an incoming {@link HttpRequest} and converts it to a {@link Representation}.
|
|
*/
|
|
export abstract class BodyParser extends AsyncHandler<HttpRequest, Representation | undefined> {}
|