@solid/community-server
Version:
Community Solid Server: an open and modular implementation of the Solid specifications
18 lines (17 loc) • 815 B
TypeScript
import type { HttpResponse } from '../../HttpResponse';
import type { InteractionRoute } from '../../../identity/interaction/routing/InteractionRoute';
import type { RepresentationMetadata } from '../../../http/representation/RepresentationMetadata';
import { MetadataWriter } from '../../../http/output/metadata/MetadataWriter';
/**
* A {@link MetadataWriter} that adds a link to the receiveFrom endpoint
* of the corresponding Streaming HTTP notifications channel
*/
export declare class StreamingHttpMetadataWriter extends MetadataWriter {
private readonly route;
protected readonly logger: import("global-logger-factory").Logger<unknown>;
constructor(route: InteractionRoute);
handle(input: {
response: HttpResponse;
metadata: RepresentationMetadata;
}): Promise<void>;
}