Don't take anything away from @Gazier, but I agree with @JoseValim; his answer should be the answer so that others who might find it can easily find it.
The endpoint is the boundary where all requests to your network start the application. It is also the interface that provides your application to the underlying web servers.
In general, an endpoint has three functions:
to provide a wrapper for starting and stopping the endpoint as part of the observation tree;
To determine the starting connector where requests are sent
to host the web configuration for your application.
The documentation is here .
source share