feat: expose sendRetryRequest

This commit is contained in:
Adhiraj Singh
2022-01-16 15:33:26 +05:30
parent 7bb6e3ceeb
commit 4112c68556

View File

@@ -86,7 +86,8 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
{
tag: 'retry',
attrs: {
count: retryCount.toString(), id: node.attrs.id,
count: retryCount.toString(),
id: node.attrs.id,
t: node.attrs.t,
v: '1'
}
@@ -497,5 +498,5 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
}
})
return { ...sock, processMessage, sendMessageAck }
return { ...sock, processMessage, sendMessageAck, sendRetryRequest }
}