Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • AbstractMessageParser
  • MessageParser
  • PeclHttpMessageParser

Interfaces

  • MessageParserInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo
 1: <?php
 2: 
 3: namespace Guzzle\Parser\Message;
 4: 
 5: /**
 6:  * HTTP message parser interface used to parse HTTP messages into an array
 7:  */
 8: interface MessageParserInterface
 9: {
10:     /**
11:      * Parse an HTTP request message into an associative array of parts.
12:      *
13:      * @param string $message HTTP request to parse
14:      *
15:      * @return array|bool Returns false if the message is invalid
16:      */
17:     public function parseRequest($message);
18: 
19:     /**
20:      * Parse an HTTP response message into an associative array of parts.
21:      *
22:      * @param string $message HTTP response to parse
23:      *
24:      * @return array|bool Returns false if the message is invalid
25:      */
26:     public function parseResponse($message);
27: }
28: 
php-coveralls API documentation generated by ApiGen 2.8.0