sendRequest() public method

public sendRequest ( Bitpay\Client\RequestInterface $request )
$request Bitpay\Client\RequestInterface
示例#1
0
 public function testSendRequestWithoutException()
 {
     $curl_options = array(CURLOPT_URL => "www.bitpay.com", CURLOPT_SSL_VERIFYPEER => 1, CURLOPT_SSL_VERIFYHOST => 2);
     $adapter = new CurlAdapter($curl_options);
     $response = $adapter->sendRequest($this->request);
     $this->assertNotNull($response);
 }