csp-builder
Version:
A builder tool to help generate Content Security Policies in a type-safe way
11 lines (10 loc) • 321 B
JavaScript
import { DirectiveType } from '../../types';
import { AbstractSingleValueDirective } from '../abstract-single-value-directive';
export class ReportTo extends AbstractSingleValueDirective {
getDirectiveName() {
return 'report-to';
}
getDirectiveType() {
return DirectiveType.Reporting;
}
}