QueryModifier

zio.http.internal.QueryModifier
trait QueryModifier[+A]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
QueryOps[A] & A

Members list

Value members

Abstract methods

Concrete methods

def ++(that: QueryParams): A

Combines two collections of query parameters together. If there are duplicate keys, the values from both sides are preserved, in order from left-to-right.

Combines two collections of query parameters together. If there are duplicate keys, the values from both sides are preserved, in order from left-to-right.

Attributes

def addQueryParam(key: String, value: String): A

Adds the specified key/value pair to the query parameters.

Adds the specified key/value pair to the query parameters.

Attributes

def addQueryParam(key: String): A
def addQueryParam[T](key: String, value: T)(implicit schema: Schema[T]): A
def addQueryParam[T](value: T)(implicit schema: Schema[T]): A
def addQueryParams(key: String, value: Chunk[String]): A

Adds the specified key/value pairs to the query parameters.

Adds the specified key/value pairs to the query parameters.

Attributes

def addQueryParams(values: String): A
def addQueryParams(queryParams: Iterable[(String, String)]): A
def removeQueryParam(key: String): A

Removes the specified key from the query parameters.

Removes the specified key from the query parameters.

Attributes

Removes the specified keys from the query parameters.

Removes the specified keys from the query parameters.

Attributes

def setQueryParams(values: QueryParams): A
def setQueryParams(values: String): A
def setQueryParams(queryParams: Map[String, Chunk[String]]): A
def setQueryParams(queryParams: (String, Chunk[String])*): A