sttp.tapir.server.http4s

Members list

Type members

Classlikes

trait Context[T]

A capability that is used by endpoints, when they need to access the http4s-provided context. Such a requirement can be added using the RichHttp4sEndpoint.contextIn method.

A capability that is used by endpoints, when they need to access the http4s-provided context. Such a requirement can be added using the RichHttp4sEndpoint.contextIn method.

Attributes

Supertypes
class Object
trait Matchable
class Any
class Http4sBodyListener[F[_]](implicit m: MonadError[F], a: Applicative[F]) extends BodyListener[F, Http4sResponseBody[F]]

Attributes

Supertypes
trait BodyListener[F, Http4sResponseBody[F]]
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class Http4sInvalidWebSocketUse(val message: String) extends Exception

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class Http4sServerOptions[F[_]](createFile: ServerRequest => F[TapirFile], deleteFile: TapirFile => F[Unit], ioChunkSize: Int, interceptors: List[Interceptor[F]])

Attributes

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

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
implicit class RichHttp4sEndpoint[A, I, E, O, R](e: Endpoint[A, I, E, O, R])

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def serverSentEventsBody[F[_]]: StreamBodyIO[Stream[F, Byte], Stream[F, ServerSentEvent], Fs2Streams[F]]

Implicits

Implicits

final implicit def RichHttp4sEndpoint[A, I, E, O, R](e: Endpoint[A, I, E, O, R]): RichHttp4sEndpoint[A, I, E, O, R]