UNPKG

next

Version:

The React Framework

14 lines (13 loc) 509 B
import { RSC_CONTENT_TYPE_HEADER } from '../../client/components/app-router-headers'; import RenderResult from '../render-result'; /** * Flight Response is always set to RSC_CONTENT_TYPE_HEADER to ensure it does not get interpreted as HTML. */ export class FlightRenderResult extends RenderResult { constructor(response, metadata = {}){ super(response, { contentType: RSC_CONTENT_TYPE_HEADER, metadata }); } } //# sourceMappingURL=flight-render-result.js.map