phalconplus Documentation v1.3.0-development
Methods
Methods Details
  • public function getBody()

    The response body.
  • public function getStatusText()

    The response code including text, e.g. '200 OK'.
  • public function getStatusCode()

    The response code.
  • public function __construct(string $body, string $headers, variable $info)

  • protected function parseHeader(string $header)

    Parse a header string.
  • protected function parseHeaders(array $headers)

    Parse an array of headers.
  • public function getHeader(variable $key)

    Get a specific header from the response.
  • public function getHeaders()

    Gets all the headers of the response.
  • public function toArray()

    Convert the response instance to an array.
  • public function toJson()

    Convert the response object to a JSON string.
  • public function jsonSerialize()

  • public function __toString()

    Convert the object to its string representation by returning the body.
  • internal function zephir_init_properties_PhalconPlus_Curl_Response()