Query

object Query
Companion
class
class Object
trait Matchable
class Any

Type members

Types

type KeyValue = (String, Option[String])

Value members

Concrete methods

def apply(xs: (String, Option[String])*): Query
def fromMap(map: Map[String, Seq[String]]): Query

Build a Query from the Map structure

Build a Query from the Map structure

def fromPairs(xs: (String, String)*): Query
def fromVector(xs: Vector[(String, Option[String])]): Query
def unsafeFromString(query: String): Query

Generate a Query from its String representation

Generate a Query from its String representation

If parsing fails, the empty Query is returned

Deprecated methods

@deprecated(message = "Use unsafeFromString instead", since = "0.22.0-M6")
def fromString(query: String): Query
Deprecated
[Since version 0.22.0-M6] Use unsafeFromString instead

Concrete fields

val blank: Query

Represents a query string with no keys or values: ?

Represents a query string with no keys or values: ?

val empty: Query

Represents the absence of a query string.

Represents the absence of a query string.

Implicits

Implicits

implicit val catsInstancesForHttp4sQuery: Hash[Query] & Order[Query] & Show[Query]