Moved sample headers from top to bottom of file
This commit is contained in:
parent
8fac2f6aa0
commit
15597fa1cc
1 changed files with 7 additions and 7 deletions
14
lib/curl.php
14
lib/curl.php
|
@ -1,12 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
date: Sun, 20 Oct 2024 17:29:05 GMT
|
||||
x-ratelimit-limit: 300
|
||||
x-ratelimit-remaining: 299
|
||||
x-ratelimit-reset: 2024-10-20T17:30:00.196177Z
|
||||
*/
|
||||
|
||||
/*
|
||||
To use the rate limit check function, you have to pass a unique "$napid" for
|
||||
every "$url" that shares the same rate limit, and define a "cknap" function
|
||||
|
@ -120,4 +113,11 @@ function curl($url,$napid=null,$headers=null,$postdata=null,$conntimeout=null,$f
|
|||
return ['content'=>$res,'httpcode'=>$httpcode,'headers'=>$gheaders,'error'=>$error];
|
||||
}
|
||||
|
||||
/*
|
||||
date: Sun, 20 Oct 2024 17:29:05 GMT
|
||||
x-ratelimit-limit: 300
|
||||
x-ratelimit-remaining: 299
|
||||
x-ratelimit-reset: 2024-10-20T17:30:00.196177Z
|
||||
*/
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue