Depend on v7.c properly

PUBLISHED_FROM=cf49d0d345e4a7607c535f9578b8ed4160f2fccd
This commit is contained in:
Deomid Ryabkov authored and Cesanta Bot committed 2016-07-22 14:31:13 +00:00
1 parent 27986213aa
commit 6a3d01ee6b
20 files changed
+66 -66

No files matched your search

+4 -4
View File
@@ -6,12 +6,12 @@ signature: |
double mg_set_timer(struct mg_connection *c, double timestamp);
---
Schedules an MG_EV_TIMER event to be delivered at `timestamp` time.
`timestamp` is UNIX time (the number of seconds since Epoch). It is
Schedule MG_EV_TIMER event to be delivered at `timestamp` time.
`timestamp` is a UNIX time (a number of seconds since Epoch). It is
`double` instead of `time_t` to allow for sub-second precision.
Returns the old timer value.
Return the old timer value.
Example: set the connect timeout to 1.5 seconds:
Example: set connect timeout to 1.5 seconds:
```
c = mg_connect(&mgr, "cesanta.com", ev_handler);