getEndpointConnector method
Future<EndpointConnector>
getEndpointConnector({
- required Session session,
- required String endpointPath,
inherited
Tries to get an EndpointConnector
for a given endpoint and method name.
If the endpoint is not found, an EndpointNotFoundException
is thrown.
If the user is not authorized to access the endpoint, a NotAuthorizedException
is thrown.
Implementation
Future<EndpointConnector> getEndpointConnector({
required Session session,
required String endpointPath,
}) async {
return _getEndpointConnector(endpointPath, (_) => session);
}