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

  • ConnContext
  • WsConnection
  • WsServer

Interfaces

  • MessageCallableInterface
  • MessageComponentInterface
  • WsServerInterface
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: namespace Ratchet\WebSocket;
 3: 
 4: /**
 5:  * WebSocket Server Interface
 6:  */
 7: interface WsServerInterface {
 8:     /**
 9:      * If any component in a stack supports a WebSocket sub-protocol return each supported in an array
10:      * @return array
11:      * @todo This method may be removed in future version (note that will not break code, just make some code obsolete)
12:      */
13:     function getSubProtocols();
14: }
15: 
Ratchet API documentation generated by ApiGen 2.8.0