/
home
/
desid573
/
public_html
/
angel
/
drivers
/
twilio-php-master
/
Twilio
/
Http
/
/home/desid573/public_html/angel/drivers/twilio-php-master/Twilio/Http
mkdir
upload
Name
Size
Mode
Actions
Client.php
258
0644
edit
dl
rm
CurlClient.php
6094
0644
edit
dl
rm
Response.php
844
0644
edit
dl
rm
Edit:
/home/desid573/public_html/angel/drivers/twilio-php-master/Twilio/Http/Response.php
(844B)
<?php namespace Twilio\Http; class Response { protected $headers; protected $content; protected $statusCode; public function __construct($statusCode, $content, $headers = array()) { $this->statusCode = $statusCode; $this->content = $content; $this->headers = $headers; } /** * @return mixed */ public function getContent() { return json_decode($this->content, true); } /** * @return mixed */ public function getStatusCode() { return $this->statusCode; } public function getHeaders() { return $this->headers; } public function ok() { return $this->getStatusCode() < 400; } public function __toString() { return '[Response] HTTP ' . $this->getStatusCode() . ' ' . $this->content; } }
Save
cmd:
run