HttpResponse

smithy4s.http.HttpResponse
See theHttpResponse companion object
final case class HttpResponse[+A](statusCode: Int, headers: Map[CaseInsensitive, Seq[String]], body: A)

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 addHeader(headerName: String, headerValue: String): HttpResponse[A]
def withBody[A0](body: A0): HttpResponse[A0]
def withContentType(contentType: String): HttpResponse[A]
def withStatusCode(statusCode: Int): HttpResponse[A]

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product