Overview

Namespaces

  • Evenement
  • None
  • PHP
  • Psr
    • Http
      • Message
  • Ratchet
    • Http
    • RFC6455
      • Handshake
      • Messaging
    • Server
    • Session
      • Serialize
      • Storage
        • Proxy
    • Wamp
    • WebSocket
  • React
    • EventLoop
      • Tick
      • Timer
    • Socket
    • Stream
  • Symfony
    • Component
      • HttpFoundation
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
      • Routing
        • Annotation
        • Exception
        • Generator
          • Dumper
        • Loader
          • DependencyInjection
        • Matcher
          • Dumper
        • Tests
          • Annotation
          • Fixtures
            • AnnotatedClasses
            • OtherAnnotatedClasses
          • Generator
            • Dumper
          • Loader
          • Matcher
            • Dumper

Classes

  • BufferedSink
  • CompositeStream
  • DuplexResourceStream
  • ReadableResourceStream
  • ReadableStream
  • ThroughStream
  • Util
  • WritableResourceStream
  • WritableStream

Interfaces

  • DuplexStreamInterface
  • ReadableStreamInterface
  • WritableStreamInterface
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: namespace React\Stream;
 4: 
 5: /**
 6:  * The `DuplexStreamInterface` is responsible for providing an interface for
 7:  * duplex streams (both readable and writable).
 8:  *
 9:  * It builds on top of the existing interfaces for readable and writable streams
10:  * and follows the exact same method and event semantics.
11:  * If you're new to this concept, you should look into the
12:  * `ReadableStreamInterface` and `WritableStreamInterface` first.
13:  *
14:  * Besides defining a few methods, this interface also implements the
15:  * `EventEmitterInterface` which allows you to react to the same events defined
16:  * on the `ReadbleStreamInterface` and `WritableStreamInterface`.
17:  *
18:  * @see ReadableStreamInterface
19:  * @see WritableStreamInterface
20:  */
21: interface DuplexStreamInterface extends ReadableStreamInterface, WritableStreamInterface
22: {
23: }
24: 
Ratchet API documentation generated by ApiGen 2.8.0