Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: QueryInfoChapter 19
Win32 Modules and Extensions
Next: Reference: SendRequest
 

Request

$http->Request([path, method, version, referer, accept, flags])
$http->Request(hashref)

Performs an HTTP request and returns an array containing the status code, the headers, and the content of the file. It is a one-step procedure that executes OpenRequest, SendRequest, QueryInfo, ReadFile, and finally Close. For a description of the parameters, see OpenRequest.


Previous: Reference: QueryInfoPerl in a NutshellNext: Reference: SendRequest
Reference: QueryInfoBook IndexReference: SendRequest