objectSrc method

ContentSecurityPolicy objectSrc(
  1. List<String> sources
)

Sets the object-src directive.

Implementation

ContentSecurityPolicy objectSrc(List<String> sources) {
  _directives['object-src'] = sources;
  return this;
}