cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Curl & Time to complete a function

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 7 May 2003 12:09:47 +0200 (CEST)

On Tue, 6 May 2003, Dan Brown wrote:

> Does curl have the ability to report how long it took to complete a
> function?
>
> I want to display how long it took to post data to a remote server and get
> a response back.

curl offers the --write-out option for multiple timers and info.

libcurl offers the curl_easy_getinfo() function.

I don't know what PHP/CURL offers.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
Received on 2003-05-07