eblondel / ows4R

R Interface for OGC Web-Services (OWS)

Home Page:https://eblondel.github.io/ows4R/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is retry implemented?

maelle opened this issue · comments

I searched for retry via GitHub but found nothing. Is it possible to use RETRY rather than e.g. GET? Wondering about this as the web service I'm using right now seems flaky. 😅 Thank you for your patience!

cc @annakrystalli

I'm not sure what you mean by implementing a RETRY here; If a web-service is down, there is nothing that ows4R can do... Retrying attempts to connect may be done, but that can be managed in user's code outside ows4R. what do you think?

I mean that maybe instead of GET/POST some methods could use https://httr.r-lib.org/reference/RETRY.html (btw see the interface for this in httr2 https://httr2.r-lib.org/reference/req_retry.html), letting the users pass the arguments pause_cap etc?

It's not implemented, not sure if/when it will be implemented, but I will have a look.