Creates an HTTP/2 request handler for the provided services.
Configuration options for the endpoint handler.
An HTTP/2 request handler function.
const httpServer = http2.createServer(createEndpointHandler({ services: [myService] }));httpServer.listen(port); Copy
const httpServer = http2.createServer(createEndpointHandler({ services: [myService] }));httpServer.listen(port);
Creates an HTTP/2 request handler for the provided services.