Options
All
  • Public
  • Public/Protected
  • All
Menu

A class representing an HTTP web proxy for the gRPC service.

Hierarchy

  • GrpcWebProxyServer

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private app

app: express.Express

Private logger

logger: Logger

Private Optional server

server: Server

Methods

close

  • close(): Promise<void>

listen

  • listen(proxyPort: number, grpcPort: number, grpcHost: string, tlsCertPath: string): Promise<void>
  • Start the server and begins listening on the specified proxy port.

    Parameters

    • proxyPort: number
    • grpcPort: number
    • grpcHost: string
    • tlsCertPath: string

    Returns Promise<void>

Generated using TypeDoc