buildUrl
@NotNull
Helper method that builds the final URL. It will append the authorization and payload arguments as query parameters. This method can be used for both the HTTP URL as well as the WebSocket URL.
Example:
Mapauthorization = new HashMap
Content copied to clipboard
Parameters
baseUrl
The base web socket URL.
authorization
The authorization as per the AppSync documentation.
payload
An optional payload - can be empty but must not be null