HttpRequest

harness.http.server.HttpRequest$
See theHttpRequest companion class

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

sealed abstract class Lookup(g: String, lookup: HttpRequest => String => EitherError[Option[String]])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object cookie.type
object header.type
object query.type
object builder

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
builder.type
object cookie extends Lookup

Attributes

Graph
Supertypes
class Lookup
class Object
trait Matchable
class Any
Self type
cookie.type
object header extends Lookup

Attributes

Graph
Supertypes
class Lookup
class Object
trait Matchable
class Any
Self type
header.type
object query extends Lookup

Attributes

Graph
Supertypes
class Lookup
class Object
trait Matchable
class Any
Self type
query.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def body[T](using evidence$1: StringDecoder[T]): HRIO[HttpRequest, T]
def jsonBody[T](using evidence$2: JsonDecoder[T]): HRIO[HttpRequest, T]
inline def service: URIO[HttpRequest, HttpRequest]

Concrete fields

val path: URIO[HttpRequest, List[String]]
val pathString: URIO[HttpRequest, String]
val rawBody: URIO[HttpRequest, InputStream]
val remoteAddress: URIO[HttpRequest, InetSocketAddress]