HttpResponse

com.malliina.http.HttpResponse

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def asString: String

Attributes

Returns:

the body as a string

def code: Int
def headers: Map[String, Seq[String]]

Concrete methods

def isSuccess: Boolean
def json: Either[ParsingFailure, Json]
def parse[T : Decoder]: Either[Error, T]
def status: Int