getEndpointConnector method

Future<EndpointConnector> getEndpointConnector({
  1. required Session session,
  2. 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);
}