Form

zio.http.Form
See theForm companion class
object Form

Attributes

Companion
class
Source
Form.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Form.type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(formData: FormField*): Form

Creates a form from the specified form data.

Creates a form from the specified form data.

Attributes

Source
Form.scala
def fromMultipartBytes(bytes: Chunk[Byte], charset: Charset = ..., boundary: Option[Boundary] = ...)(implicit trace: Trace): ZIO[Any, Throwable, Form]

Creates a form from the specified form data, encoded as multipart bytes.

Creates a form from the specified form data, encoded as multipart bytes.

Attributes

Source
Form.scala
def fromQueryParams(queryParams: QueryParams): Form

Attributes

Source
Form.scala
def fromStrings(formData: (String, String)*): Form

Creates a form from the specified form data, expressed as a sequence of string key-value pairs.

Creates a form from the specified form data, expressed as a sequence of string key-value pairs.

Attributes

Source
Form.scala
def fromURLEncoded(encoded: String, charset: Charset): Either[FormDecodingError, Form]

Creates a form from the specified URL encoded data.

Creates a form from the specified URL encoded data.

Attributes

Source
Form.scala

Concrete fields

val empty: Form

An empty form, without any fields.

An empty form, without any fields.

Attributes

Source
Form.scala