Companion

object Companion

Properties

Link copied to clipboard
const val MAX_HOST_LENGTH: Int = 253
Link copied to clipboard

Functions

Link copied to clipboard
fun of(id: String, host: String, method: String? = null, pathPrefix: String? = null, enabled: Boolean = true): CaptureRule

Builds a rule from raw (browser or Compose form) input, trimming and collapsing empty optional fields before validation so callers do not have to.