Overview

Packages

  • None
  • thrift
    • transport

Classes

  • TBufferedTransport
  • TFramedTransport
  • THttpClient
  • TMemoryBuffer
  • TNullTransport
  • TPhpStream
  • TSocket
  • TSocketPool
  • TTransport
  • Overview
  • Package
  • Class
  • Tree

Package thrift\transport

Classes summary
TBufferedTransport

Buffered transport. Stores data to an internal buffer that it doesn't actually write out until flush is called. For reading, we do a greedy read and then serve data out of the internal buffer.

TFramedTransport

Framed transport. Writes and reads data in chunks that are stamped with their length.

THttpClient HTTP client for Thrift
TMemoryBuffer

A memory buffer is a tranpsort that simply reads from and writes to an in-memory string buffer. Anytime you call write on it, the data is simply placed into a buffer, and anytime you call read, data is read from that buffer.

TNullTransport

Transport that only accepts writes and ignores them. This is useful for measuring the serialized size of structures.

TPhpStream

Php stream transport. Reads to and writes from the php standard streams php://input and php://output

TSocket Sockets implementation of the TTransport interface.
TSocketPool

Sockets implementation of the TTransport interface that allows connection to a pool of servers.

TTransport Base interface for a transport agent.
API documentation generated by ApiGen