I am attempting to use tRPC with Azure's Pub/Sub Websockets service it appears to require custom protocols to be defined as explained here:
https://learn.microsoft.com/en-us/azure/azure-web-pubsub/reference-json-webpubsub-subprotocolThey give the following code example:
var pubsub = new WebSocket('wss://test.webpubsub.azure.com/client/hubs/hub1', 'json.webpubsub.azure.v1');
How might this be done using:
const client = createWSClient({
url: `wss://test.webpubsub.azure.com/client/hubs/hub1`,
});