All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalapb.zio_grpc.ResponseFrame.scala Maven / Gradle / Ivy

The newest version!
package scalapb.zio_grpc

import io.grpc.Metadata
import io.grpc.Status

sealed abstract class ResponseFrame[+A]

object ResponseFrame {
  final case class Headers(headers: Metadata)                   extends ResponseFrame[Nothing]
  final case class Message[A](message: A)                       extends ResponseFrame[A]
  final case class Trailers(status: Status, trailers: Metadata) extends ResponseFrame[Nothing]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy