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

  • AbstractConnectionDecorator
  • App

Interfaces

  • ComponentInterface
  • ConnectionInterface
  • MessageComponentInterface
  • MessageInterface

Constants

  • VERSION
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: namespace Ratchet;
 3: 
 4: /**
 5:  * The version of Ratchet being used
 6:  * @var string
 7:  */
 8: const VERSION = 'Ratchet/0.4';
 9: 
10: /**
11:  * A proxy object representing a connection to the application
12:  * This acts as a container to store data (in memory) about the connection
13:  */
14: interface ConnectionInterface {
15:     /**
16:      * Send data to the connection
17:      * @param  string $data
18:      * @return \Ratchet\ConnectionInterface
19:      */
20:     function send($data);
21: 
22:     /**
23:      * Close the connection
24:      */
25:     function close();
26: }
27: 
Ratchet API documentation generated by ApiGen 2.8.0