Overview

Namespaces

  • Loco
    • Http
      • Response

Classes

  • RawResponse
  • ZipResponse
  • Overview
  • Namespace
  • Class
  • Tree

Class RawResponse

Response class for endpoints that return raw, unstructured data that will not be unserialized.

Loco\Http\Response\RawResponse implements Guzzle\Service\Command\ResponseClassInterface

Direct known subclasses

Loco\Http\Response\ZipResponse
Namespace: Loco\Http\Response
Located at Loco/Http/Response/RawResponse.php
Methods summary
public static Loco\Http\Response\RawResponse
# fromCommand( Guzzle\Service\Command\OperationCommand $command )

Create a response model object from a completed command

Create a response model object from a completed command

Parameters

$command
Guzzle\Service\Command\OperationCommand
Command that serialized the request

Returns

Loco\Http\Response\RawResponse

Throws

Guzzle\Http\Exception\BadResponseException
public string
# __toString( )

Get raw data.

Get raw data.

Returns

string
Loco SDK - PHP API documentation generated by ApiGen 2.8.0