PHP PHP request class – Exchange stack code revision

I would like to get your opinion on this class, which is used to send an http request (at that time only the POST method).

It's working fine, but I'd like to get an answer on: maintenance, reuse, security, code format, etc.

Class HttpRequest {

private $ POST = & # 39; POST & # 39 ;;
private $ PUT = & # 39; PUT & # 39 ;;
private $ GET = & # 39; GET & # 39 ;;
private $ DELETE = & # 39; DELETE & # 39 ;;
$ PATCH private = & # 39; PATCH & # 39 ;;

$ private body;
$ private options;
private handle $
private $ httpCode;
$ private response;

public function __build () {}


/ **
* send publication request
* @param url
* @param header
* @param options
* @param body
* @return json object
* /
public function publication ($ url, $ header, $ options, $ body) {
if (! $ this-> handle || get_resource_type ($ this-> handle) == "Unknown") {
$ this-> handle = curl_init ();
}
curl_setopt ($ this-> handle, CURLOPT_URL, $ url);
curl_setopt ($ this-> handle, CURLOPT_HTTPHEADER, $ header);
curl_setopt_array ($ this-> handle, $ options);
// curl_setopt ($ this-> handle, CURLOPT_SSL_VERIFYPEER, true);
// curl_setopt ($ this-> handle, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ this-> handle, CURLOPT_RETURNTRANSFER, true);
curl_setopt ($ this-> handle, CURLOPT_CUSTOMREQUEST, $ this-> POST);
curl_setopt ($ this-> handle, CURLOPT_POSTFIELDS, $ body);
$ this-> response = curl_exec ($ this-> handle);
$ this-> httpCode = curl_getinfo ($ this-> handle, CURLINFO_HTTP_CODE);
curl_close ($ this-> handle);
returns $ this-> answer;
}


public function getResponse () {
returns $ this-> answer;
}

public function getHttpCode () {
returns $ this-> httpCode;
}

/ **
* send request to obtain
* @param url
* @param header
* @param options
* /
public function get ($ url, $ header = array (), $ options = array ()) {
/ **
* @what to do
* It implies this method.
* /
}

/ **
* send patch request
* /
public function patch () {
/ **
* @what to do
* It implies this method.
* /
}
/ **
* send removal request
* /
public function delete () {
/ **
* @what to do
* It implies this method.
* /
}
/ **
* send request for sale
* /
public function put () {
/ **
* @what to do
* It implies this method.
* /
}
}

?>