(Choose 1 answer)
To configure a custom number of reconnect attempts before disconnecting or change the reconnect timing,the withAutomaticReconnect accepts an array of numbers representing the delay in milliseconds to wait before starting each reconnect attempt. Choose the correct option for making automatically reconnect.
A. const connection = new signalR.HubConnectionBuilder().withUrl("/chathub")withAutomaticReconnect([0, 0, 10000]).build();
B. const connection = new signalR.HubConnectionBuilder().withUrl("/chathub")withAutomaticReconnect([0], [0], [10000]).build();
C. const connection = new signalR.HubConnectionBuilder().withUrl("/chathub")withAutomaticReconnect(0, 0, 10000)
.create();
D. const connection = new signalR.HubConnectionBuilder().withUrl("/chathub")withAutomaticReconnect([0, 0, 10000])
.create();
Exit 43