Page Contents

Home > @loopback/rest > RestApplication > server

RestApplication.server() method

Signature:

server(server: Constructor<Server>, name?: string): Binding;

Parameters

Parameter Type Description
server Constructor<Server>  
name string (Optional)

Returns:

Binding