NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class MessageParser

Default request and response parser used by Guzzle. Optimized for speed.

  Guzzle\Parser\Message\AbstractMessageParser implements Guzzle\Parser\Message\MessageParserInterface
  Guzzle\Parser\Message\MessageParser

Namespace: Guzzle\Parser\Message
Located at Guzzle/Parser/Message/MessageParser.php

## Methods summary

- `public` `parseRequest ( string $message )`

  Parse an HTTP request message into an associative array of parts.

- `public` `parseResponse ( string $message )`

  Parse an HTTP response message into an associative array of parts.

- `protected` `parseMessage ( string $message )`

  Parse a message into parts

## Methods detail

# `public array|boolean`
`parseRequest( string $message )`

Parse an HTTP request message into an associative array of parts.

#### Parameters

$message
  `string`
  $message HTTP request to parse

#### Returns

`array|boolean`
Returns false if the message is invalid
# `public array|boolean`
`parseResponse( string $message )`

Parse an HTTP response message into an associative array of parts.

#### Parameters

$message
  `string`
  $message HTTP response to parse

#### Returns

`array|boolean`
Returns false if the message is invalid
# `protected array`
`parseMessage( string $message )`

Parse a message into parts

#### Parameters

$message
  `string`
  $message Message to parse

#### Returns

`array`

### Methods inherited from Guzzle\Parser\Message\AbstractMessageParser

`getUrlPartsFromMessage()`

### Magic methods summary