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

Interface ConnectionInterface

A proxy object representing a connection to the application This acts as a container to store data (in memory) about the connection

Direct known implementers

Ratchet\AbstractConnectionDecorator, Ratchet\Server\IoConnection

Indirect known implementers

Ratchet\Wamp\WampConnection, Ratchet\WebSocket\WsConnection
Namespace: Ratchet
Located at Ratchet/ConnectionInterface.php
Methods summary
public Ratchet\ConnectionInterface
# send( string $data )

Send data to the connection

Send data to the connection

Parameters

$data
string
$data

Returns

Ratchet\ConnectionInterface
public
# close( )

Close the connection

Close the connection

Ratchet API documentation generated by ApiGen 2.8.0