Server IP : 127.0.0.2 / Your IP : 18.188.39.197 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/vendor/guzzlehttp/guzzle/src/Message/ |
Upload File : |
<?php namespace GuzzleHttp\Message; use GuzzleHttp\Event\HasEmitterInterface; use GuzzleHttp\Query; /** * Generic HTTP request interface */ interface RequestInterface extends MessageInterface, HasEmitterInterface { /** * Sets the request URL. * * The URL MUST be a string, or an object that implements the * `__toString()` method. * * @param string $url Request URL. * * @throws \InvalidArgumentException If the URL is invalid. */ public function setUrl($url); /** * Gets the request URL as a string. * * @return string Returns the URL as a string. */ public function getUrl(); /** * Get the resource part of the the request, including the path, query * string, and fragment. * * @return string */ public function getResource(); /** * Get the collection of key value pairs that will be used as the query * string in the request. * * @return Query */ public function getQuery(); /** * Set the query string used by the request * * @param array|Query $query Query to set */ public function setQuery($query); /** * Get the HTTP method of the request. * * @return string */ public function getMethod(); /** * Set the HTTP method of the request. * * @param string $method HTTP method */ public function setMethod($method); /** * Get the URI scheme of the request (http, https, etc.). * * @return string */ public function getScheme(); /** * Set the URI scheme of the request (http, https, etc.). * * @param string $scheme Scheme to set */ public function setScheme($scheme); /** * Get the port scheme of the request (e.g., 80, 443, etc.). * * @return int */ public function getPort(); /** * Set the port of the request. * * Setting a port modifies the Host header of a request as necessary. * * @param int $port Port to set */ public function setPort($port); /** * Get the host of the request. * * @return string */ public function getHost(); /** * Set the host of the request including an optional port. * * Including a port in the host argument will explicitly change the port of * the request. If no port is found, the default port of the current * request scheme will be utilized. * * @param string $host Host to set (e.g. www.yahoo.com, www.yahoo.com:80) */ public function setHost($host); /** * Get the path of the request (e.g. '/', '/index.html'). * * @return string */ public function getPath(); /** * Set the path of the request (e.g. '/', '/index.html'). * * @param string|array $path Path to set or array of segments to implode */ public function setPath($path); /** * Get the request's configuration options. * * @return \GuzzleHttp\Collection */ public function getConfig(); }