sttp.tapir.server.ziohttp.package.scala Maven / Gradle / Ivy
package sttp.tapir.server
import zio.http.WebSocketChannelEvent
import zio.{ZIO, stream}
package object ziohttp {
type WebSocketHandler =
stream.Stream[Throwable, WebSocketChannelEvent] => ZIO[Any, Throwable, stream.Stream[Throwable, WebSocketChannelEvent]]
type ZioResponseBody =
Either[WebSocketHandler, ZioHttpResponseBody]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy