AppSyncRequestHandler
Implements
Constructors
new AppSyncRequestHandler()
new AppSyncRequestHandler():
AppSyncRequestHandler
Returns
Properties
subscription?
optional
subscription:Subscription
Methods
destroy()
destroy():
void
Returns
void
Implementation of
handle()
handle(
request
:GraphQLRequestOptions
):Observable
<GraphQLResponseData
>
{ "aws_project_region": "us-west-2", "aws_appsync_graphqlEndpoint": "https://....appsync-api.us-west-2.amazonaws.com/graphql", "aws_appsync_region": "us-west-2", "aws_appsync_authenticationType": "API_KEY", "aws_appsync_apiKey": "..." "aws_appsync_jwtToken" "..." }
Parameters
• request: GraphQLRequestOptions
Returns
Observable
<GraphQLResponseData
>