getMessagingSessionEndpoint method
The endpoint for the messaging session.
May throw UnauthorizedClientException. May throw ForbiddenException. May throw ThrottledClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.
Implementation
Future<GetMessagingSessionEndpointResponse>
getMessagingSessionEndpoint() async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/endpoints/messaging-session',
exceptionFnMap: _exceptionFns,
);
return GetMessagingSessionEndpointResponse.fromJson(response);
}