as.data.frame.csp: Convert a parsed CSP into a data frame of directives and...

Description Usage Arguments References

View source: R/as-data-frame.R

Description

Convert a parsed CSP into a data frame of directives and values

Usage

1
2
3
## S3 method for class 'csp'
as.data.frame(x, row.names = NULL, optional = NULL,
  include_origin = TRUE, ...)

Arguments

x

a csp object created with fetch_csp() or parse_csp()

row.names, optional, ...

ignored

include_origin

if the csp object has an origin URL should it be included in the data frame? Default: TRUE

References

Content Security Policy Level 3


hrbrmstr/cspy documentation built on May 20, 2019, 12:35 p.m.