Roxen.git / server / etc / modules / HTTPClient.pmod

version» Context lines:

Roxen.git/server/etc/modules/HTTPClient.pmod:30:   //! });   //!   //! args->on_failure(lambda (HTTPClient.Result resp) {   //! werror("Failed request for %O (%d %s)\n", resp->url,   //! resp->status, resp->status_description);   //! });   //!   //! HTTPClient.async_get("http://domain.com", args);   //! @endcode    - #define HTTP_CLIENT_DEBUG + // #define HTTP_CLIENT_DEBUG      #ifdef HTTP_CLIENT_DEBUG   # define TRACE(X...)werror("%s:%d: %s",basename(__FILE__),__LINE__,sprintf(X))   #else   # define TRACE(X...)0   #endif      protected constant DEFAULT_MAXTIME = 60;