UnaryServerCodecs

smithy4s.server.UnaryServerCodecs
See theUnaryServerCodecs companion object
final class UnaryServerCodecs[F[_], Request, Response, I, E, O](val inputDecoder: Request => F[I], val errorEncoder: E => F[Response], val throwableEncoder: Throwable => F[Response], val outputEncoder: O => F[Response])

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def transformRequest[Request0](f: Request0 => F[Request])(implicit F: MonadThrowLike[F]): UnaryServerCodecs[F, Request0, Response, I, E, O]
def transformResponse[Response1](f: Response => F[Response1])(implicit F: MonadThrowLike[F]): UnaryServerCodecs[F, Request, Response1, I, E, O]

Concrete fields

val errorEncoder: E => F[Response]
val inputDecoder: Request => F[I]
val outputEncoder: O => F[Response]
val throwableEncoder: Throwable => F[Response]