Kizspy | Question: 4 (Choose 1 answer)
The JavaScript client for SignalR can be configured to automatically reconnect using the withAutomaticReconnect method on HubConnectionBuilder. Choose the correct option for making automatically reconnect.
A. const connection = new signalR.HubConnectionBuilder().withUrl("/chathub").withAutomaticReconnect().build();
B. const connection = new signalR.HubConnectionBuilder().withUrl("/chathub").build()withAutomaticReconnect();
C. const connection = new signalR.HubConnectionBuilder().withAutomaticReconnect().withUrl("/chathub").build();
D. const connection = new signalR.HubConnectionBuilder().withUrl("/chathub").withAutomaticReconnect();
.create();
FUOVER