ContentSecurityPolicySourceExpressionHost

data class ContentSecurityPolicySourceExpressionHost(val schemeName: Rfc3986UriSchemeName? = null, val host: ContentSecurityPolicySourceExpressionHostPart, val port: ContentSecurityPolicySourceExpressionPortPart? = null, val path: Rfc3986UriPathAbsoluteOrEmpty? = null) : ContentSecurityPolicySourceExpression(source)

Constructors

constructor(schemeName: Rfc3986UriSchemeName? = null, host: ContentSecurityPolicySourceExpressionHostPart, port: ContentSecurityPolicySourceExpressionPortPart? = null, path: Rfc3986UriPathAbsoluteOrEmpty? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val path: Rfc3986UriPathAbsoluteOrEmpty?

In this case we always have an authority, so path-abempty is the only applicable path if we also apply the semantics specified in rfc3986. In any case, this class can represent any other path production anyway.

Link copied to clipboard
val schemeName: Rfc3986UriSchemeName?