harness.http.server

Members list

Type members

Classlikes

final case class Endpoint[-R, ET <: Any](spec: EndpointSpec[ET], implementation: Implementation[R, ET])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Endpoint.type
trait ErrorHandler[DomainError, ApiError]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object ErrorHandler

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final case class Handler[ServerEnv, ReqEnv](serverRuntime: Runtime[HarnessEnv & ServerEnv], reqLayer: RLayer[ServerEnv & Scope, ReqEnv], endpoints: List[Endpoint[ServerEnv & ReqEnv, Any]], debugErrorHeader: Boolean)(using evidence$1: Tag[ReqEnv]) extends HttpHandler

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait HttpHandler
class Object
trait Matchable
class Any
Show all
Self type
Handler[ServerEnv, ReqEnv]
final case class HttpRequest(requestId: UUID, method: HttpMethod, path: List[String], queries: Map[String, List[String]], headers: Map[String, List[String]], cookies: Map[String, String], rawInputStream: InputStream, remoteAddress: InetSocketAddress, contentLengths: List[Long])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HttpResponse[B](body: B, code: HttpCode, headers: Map[String, List[String]], cookies: List[SetCookie])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
object HttpResponse

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait Implementation[-R, ET <: Any]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final case class OutputResult(length: Long, writeOutput: OutputStream => Unit)

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object Server

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Server.type
final case class SetCookie

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
object SetCookie

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SetCookie.type
implicit class StandardPatternCompanionOps(self: StandardPattern.type)

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class ZIOHttpResponseOps[R, E, A](self: ZIO[R, E, A])

Attributes

Supertypes
class Object
trait Matchable
class Any

Implicits

Implicits

final implicit def StandardPatternCompanionOps(self: StandardPattern.type): StandardPatternCompanionOps
final implicit def ZIOHttpResponseOps[R, E, A](self: ZIO[R, E, A]): ZIOHttpResponseOps[R, E, A]