Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


All wrappers is built around a request method. In version 6.0, each request method has its own method: doGet for GET-requests, doPost for POST-requests, doDelete for DELETE, and so on. In 6.1 we stay with the request method. NetWrapper and MODULE_CURL however supports the old do-methods, even if it is highly recommended to not use those methods. The difference between this module and the others is that NetWrapper finds a preferred driver where curl has priority. If curl is unavailable, NetWrapper will automatically try to run with internal streams by default.

I've created a method in netWrapperTest to demonstrate, that will be left over there for you to test with: