Is there a way to specify a websocket endpoint with Amplify.configure(awsConfig)
? The documentation only covers how to set up a singular http endpoint using the aws_appsync_graphqlEndpoint
For more information, you can refer to the AWS Amplify.configure documentation.
In my case, I have separate AppSync URLs, one for regular HTTP requests and one specifically for real-time WebSocket connections.
REACT_APP_GRAPHQL_ENDPOINT_HTTP
REACT_APP_GRAPHQL_ENDPOINT_WS
I am currently attempting to establish a connection to AppSync using the AWS Amplify SDK and leveraging the Amplify GraphQL subscriptions feature