/** * Make an HTTP request using this library. This method doesn't return anything. * * Instead the response should be inspected directly. * * @param string $method the HTTP method being used. e.g. POST, GET, HEAD etc * @param string $url the request URL without query string parameters * @param array $params the request parameters as an array of key=value pairs. Default empty array * @param string $useauth whether to use authentication when making the request. Default true * @param string $multipart whether this request contains multipart data. Default false * @param array $headers any custom headers to send with the request. Default empty array * @return int the http response code for the request. 0 is returned if a connection could not be made * @static */ public static function request($method, $url, $params = array(), $useauth = true, $multipart = false, $headers = array()) { //Method inherited from \tmhOAuth return \Thujohn\Twitter\Twitter::request($method, $url, $params, $useauth, $multipart, $headers); }