socketMaker property
URL of the GraphQL over WebSocket Protocol compliant server to connect.
If the option is a function, it will be called on every WebSocket connection attempt. Returning a promise is supported too and the connecting phase will stall until it resolves with the URL.
A good use-case for having a function is when using the URL for authentication, where subsequent reconnects (due to auth) may have a refreshed identity token in the URL.
Implementation
final WebSocketMaker socketMaker;