Property | Type | Description | |
---|---|---|---|
$curl | resource | cURL resource |
Method | Description | |
---|---|---|
__construct ( ) | Constructs a cURL adapter | |
close ( ) | Closes the cURL connection | |
getContentType ( ) : string | Get response content type | |
getHttpStatusCode ( ) : string | Get response http status code | |
open ( ) | Opens the connection | |
send ( string $address, string $method, string $body = null ) : string | Sends request |
public getContentType ( ) : string | ||
return | string | Response content type |
public getHttpStatusCode ( ) : string | ||
return | string | Response http code |