Skip to content

gkawin/httpcurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#httpcurl Httpcurl using multi-thread curl request to server.

Installation

  1. enter command : composer require xmltravflex/httpcurl dev-master
  2. after install, require 'vendor/autoload.php'.

##Example

  • $oHttp = Httpcurl/Httpcurl::open('url');
  • $oHttp->setRequestHeader('Content-Type','text/xml','SOAPAction':'urlsoape/action');
  • $oHttp->setCurlOption(CURLOPT_HEADER,true);
  • $response = $oHttp->send(array($requestxmlstring));

##Available methods.

  • static : open($url,$isDebug=false)
  • public : setRequestHeader(param1,param2);
  • public : setCurlOption(param1,param2);
  • public : send(array param);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages