|
HttpRequest
Represents an HTTP protocol request.
Autogenerated note: this page is automatically generated from embedded documentation in the PHP source. OverviewConstructors
Methods
Constructor DetailHttpRequestpublic HttpRequest(mixed method, mixed uri, mixed credentials, mixed cache) Create a new instance of this class
Method Detailalways_validate_cachepublic void always_validate_cache(mixed val) cache_idpublic void cache_id() executepublic void execute() Issue the HTTP request
execute_asyncpublic void execute_async() get_async_responsepublic void get_async_response() get_bodypublic void get_body() Get the content to be sent with the request
get_headerspublic void get_headers() Obtain the HTTP headers to be sent with this request
set_acceptpublic void set_accept(mixed val) Set the HTTP accept header for the request
set_bodypublic void set_body(mixed val) Set content to be sent with the request
set_cachepublic void set_cache(mixed cache) set_content_typepublic void set_content_type(mixed val) Set the HTTP content-type header for the request
set_if_matchpublic void set_if_match(mixed val) Set the HTTP if-match header for the request
set_if_none_matchpublic void set_if_none_match(mixed val) Set the HTTP if-none-match header for the request
set_proxypublic void set_proxy(mixed val) to_stringpublic void to_string() Obtain a string representation of this request
use_stale_response_on_failurepublic void use_stale_response_on_failure(mixed val) Generated by PHPDoctor 2RC2 | |
► Sign in to add a comment