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

Class Util

Namespace: React\Stream
Located at Util.php
Methods summary
public static React\Stream\WritableStreamInterface
# pipe( React\Stream\ReadableStreamInterface $source, React\Stream\WritableStreamInterface $dest, array $options = array() )

Pipes all the data from the given $source into the $dest

Pipes all the data from the given $source into the $dest

Parameters

$source
React\Stream\ReadableStreamInterface
$source
$dest
React\Stream\WritableStreamInterface
$dest
$options
array
$options

Returns

React\Stream\WritableStreamInterface
$dest stream as-is

See

ReadableStreamInterface::pipe() for more details
public static
# forwardEvents( mixed $source, mixed $target, array $events )
Ratchet API documentation generated by ApiGen 2.8.0