GatewayServer

com.improving.grpc_rest_gateway.runtime.server.GatewayServer
See theGatewayServer companion trait
object GatewayServer

Create a Netty-backed REST Gateway for a given gRPC server with the request handlers created by a given factory method. Bind the gateway to a given port. Perform request redirection on a given thread pool.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(serviceHost: String, servicePort: Int, gatewayPort: Int, toHandlers: ManagedChannel => Seq[GrpcGatewayHandler], executor: Option[Executor], usePlainText: Boolean): GatewayServer
def apply(config: Config, toHandlers: ManagedChannel => Seq[GrpcGatewayHandler], executor: Option[Executor]): GatewayServer