PRN221_-_SP_2023_-_FE_153.webp
hirosi212

PRN221_-_SP_2023_-_FE_153.webp

(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

Thông tin

Category
PRN221
Thêm bởi
hirosi212
Ngày thêm
Lượt xem
1,341
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom