Overview

Namespaces

  • Docta
    • MercadoLibre
      • OAuth2
        • Client
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
    • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Token
        • Tool
  • Psr
    • Http
      • Message

Classes

  • AppendStream
  • BufferStream
  • CachingStream
  • DroppingStream
  • FnStream
  • InflateStream
  • LazyOpenStream
  • LimitStream
  • MultipartStream
  • NoSeekStream
  • PumpStream
  • Request
  • Response
  • ServerRequest
  • Stream
  • StreamWrapper
  • UploadedFile
  • Uri
  • UriNormalizer
  • UriResolver

Traits

  • MessageTrait
  • StreamDecoratorTrait

Functions

  • build_query
  • copy_to_stream
  • copy_to_string
  • hash
  • mimetype_from_extension
  • mimetype_from_filename
  • modify_request
  • normalize_header
  • parse_header
  • parse_query
  • parse_request
  • parse_response
  • readline
  • rewind_body
  • str
  • stream_for
  • try_fopen
  • uri_for
  • Overview
  • Namespace
  • Class
  • Download

Namespace GuzzleHttp\Psr7

Classes summary
AppendStream Reads from multiple streams, one after the other.
BufferStream

Provides a buffer stream that can be written to to fill a buffer, and read from to remove bytes from the buffer.

CachingStream

Stream decorator that can cache previously read bytes from a sequentially read stream.

DroppingStream

Stream decorator that begins dropping data once the size of the underlying stream becomes too full.

FnStream Compose stream implementations based on a hash of functions.
InflateStream Uses PHP's zlib.inflate filter to inflate deflate or gzipped content.
LazyOpenStream

Lazily reads or writes to a file that is opened only after an IO operation take place on the stream.

LimitStream Decorator used to return only a subset of a stream
MultipartStream

Stream that when read returns bytes for a streaming multipart or multipart/form-data stream.

NoSeekStream Stream decorator that prevents a stream from being seeked
PumpStream Provides a read only stream that pumps data from a PHP callable.
Request PSR-7 request implementation.
Response PSR-7 response implementation.
ServerRequest Server-side HTTP request
Stream PHP stream implementation.
StreamWrapper Converts Guzzle streams into PHP stream resources.
UploadedFile Value object representing a file uploaded through an HTTP request.
Uri PSR-7 URI implementation.
UriNormalizer Provides methods to normalize and compare URIs.
UriResolver Resolves a URI reference in the context of a base URI and the opposite way.
Traits summary
MessageTrait Trait implementing functionality common to requests and responses.
StreamDecoratorTrait Stream decorator trait
Functions summary
build_query Build a query string from an array of key value pairs.
copy_to_stream

Copy the contents of a stream into another stream until the given number of bytes have been read.

copy_to_string

Copy the contents of a stream into a string until the given number of bytes have been read.

hash Calculate a hash of a Stream
mimetype_from_extension Maps a file extensions to a mimetype.
mimetype_from_filename Determines the mimetype of a file by looking at its extension.
modify_request Clone and modify a request with the given changes.
normalize_header

Converts an array of header values that may contain comma separated headers into an array of headers with no comma separated values.

parse_header

Parse an array of header values containing ";" separated data into an array of associative arrays representing the header key value pair data of the header. When a parameter does not contain a value, but just contains a key, this function will inject a key with a '' string value.

parse_query Parse a query string into an associative array.
parse_request Parses a request message string into a request object.
parse_response Parses a response message string into a response object.
readline Read a line from the stream up to the maximum allowed buffer length
rewind_body Attempts to rewind a message body and throws an exception on failure.
str Returns the string representation of an HTTP message.
stream_for Create a new stream based on the input type.
try_fopen Safely opens a PHP stream resource using a filename.
uri_for Returns a UriInterface for the given value.
MercadoLibre Provider for OAuth 2.0 Client API documentation generated by ApiGen