Response

io.github.edadma.apion.Response
See theResponse companion object
case class Response(status: Int, headers: ResponseHeaders, body: ResponseBody)

Attributes

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

Members list

Value members

Concrete methods

def bodyText: String
def clearCookie(name: String, path: String): Response
Extension method from io.github.edadma.apion
def withCookie(cookie: Cookie): Response
Extension method from io.github.edadma.apion
def withCookie(name: String, value: String, domain: Option[String], path: Option[String], maxAge: Option[Int], expires: Option[Instant], secure: Boolean, httpOnly: Boolean, sameSite: Option[String]): Response
Extension method from io.github.edadma.apion

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product