and

infix fun <A, B> A.and(other: B): KovenPair<A, B>

Creates a KovenPair from two values.


infix fun <A, B> CookieField<A>.and(other: CookieField<B>): CookiePairField<A, B>

Creates a pair of cookie fields as CookiePairField.


infix fun <A, B> HeaderField<A>.and(other: HeaderField<B>): HeaderPairField<A, B>

Creates a pair of header fields as HeaderPairField.


infix fun <A, B> PathField<A>.and(other: PathField<B>): PathPairField<A, B>

Creates a pair of path fields as PathPairField.


@JvmName(name = "andEmptyPathFieldLeft")
infix fun <B> Empty.and(other: PathField<B>): PathField<B>

Creates a pair of path fields as PathPairField, optimizing for Empty on the left.


@JvmName(name = "andEmptyPathFieldRight")
infix fun <A> PathField<A>.and(other: Empty): PathField<A>

Creates a pair of path fields as PathPairField, optimizing for Empty on the right.


infix fun <A, B> QueryField<A>.and(other: QueryField<B>): QueryPairField<A, B>

Creates a pair of query fields as QueryPairField.


@JvmName(name = "andEmptyQueryFieldLeft")
infix fun <B> Empty.and(other: QueryField<B>): QueryField<B>

Creates a pair of query fields as QueryPairField, optimizing for Empty on the left.


@JvmName(name = "andEmptyQueryFieldRight")
infix fun <A> QueryField<A>.and(other: Empty): QueryField<A>

Creates a pair of query fields as QueryPairField, optimizing for Empty on the right.