Plain

sttp.model.Uri$.QuerySegment$.Plain
case class Plain(v: String, encoding: Encoding) extends QuerySegment

A query fragment which will be inserted into the query, without and preceding or following separators. Allows constructing query strings which are not (only) &-separated key-value pairs.

Value parameters

encoding

How to encode the value, and which characters should be escaped. The RFC3986 standard defines that the query can include these special characters, without escaping:

/?:@-._~!$&()*+,;=

See: https://stackoverflow.com/questions/2322764/what-characters-must-be-escaped-in-an-http-query-string https://stackoverflow.com/questions/2366260/whats-valid-and-whats-not-in-a-uri-query

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait QuerySegment
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product