allowOrigin

fun allowOrigin(origin: String): Boolean

Checks whether given origin is allowed.

Return

True, if given origin is allowed, else false.