HttpResponse

uk.gov.hmrc.http.HttpResponse
See theHttpResponse companion trait
object HttpResponse

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(status: Int, body: String, headers: Map[String, Seq[String]]): HttpResponse
def apply(status: Int, json: JsValue, headers: Map[String, Seq[String]]): HttpResponse
def apply(status: Int, bodyAsSource: Source[ByteString, _], headers: Map[String, Seq[String]]): HttpResponse
def unapply(that: HttpResponse): Option[(Int, String, Map[String, Seq[String]])]