CORSInterceptor

sttp.tapir.server.interceptor.cors.CORSInterceptor
See theCORSInterceptor companion object
class CORSInterceptor[F[_]] extends RequestInterceptor[F]

Attributes

Companion
object
Graph
Supertypes
trait Interceptor[F]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def apply[R, B](responder: Responder[F, B], requestHandler: EndpointInterceptor[F] => RequestHandler[F, R, B]): RequestHandler[F, R, B]

Type parameters

B

The interpreter-specific, low-level type of body.

R

The interpreter-specific supported capabilities, such as streaming support, websockets or Any.

Attributes

Definition Classes