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

  • EchoServer
  • FlashPolicy
  • IoConnection
  • IoServer
  • IpBlackList
  • Overview
  • Namespace
  • Class
  • Tree

Class IoConnection

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

Ratchet\Server\IoConnection implements Ratchet\ConnectionInterface
Namespace: Ratchet\Server
Located at Ratchet/Server/IoConnection.php
Methods summary
public
# __construct( React\Socket\ConnectionInterface $conn )

Parameters

$conn
React\Socket\ConnectionInterface
$conn
public Ratchet\ConnectionInterface
# send( string $data )

Send data to the connection

Send data to the connection

Parameters

$data
string
$data

Returns

Ratchet\ConnectionInterface

Implementation of

Ratchet\ConnectionInterface::send()
public
# close( )

Close the connection

Close the connection

Implementation of

Ratchet\ConnectionInterface::close()
Properties summary
protected React\Socket\ConnectionInterface $conn
#
Ratchet API documentation generated by ApiGen 2.8.0