B4J Question How to specify a timeout value, in the curl example?

Discussion in 'B4J Questions' started by B4JExplorer, Feb 25, 2015.

  1. B4JExplorer

    B4JExplorer Active Member Licensed User


    In the non-ui example of downloading a file,


    , I'm receiving one of those time out errors:

    java.net.SocketTimeoutException: Read timed out

    , and the HttpClient doesn't seem to have a timeout property.

    Is there a way to set the timeout value, with the curl example?
  2. B4JExplorer

    B4JExplorer Active Member Licensed User

    The req object uses HttpRequest, which has a timeout property.

    Got it, resolved.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice