Documentation

RakLibPacketSender
in package
implements PacketSender

Interfaces, Classes, Traits and Enums

PacketSender

Table of Contents

$closed  : bool
$handler  : RakLibInterface
$sessionId  : int
__construct()  : mixed
close()  : void
Closes the channel, terminating the connection.
send()  : void
Pushes a packet into the channel to be processed.

Properties

Methods

close()

Closes the channel, terminating the connection.

public close([string $reason = "unknown reason" ]) : void
Parameters
$reason : string = "unknown reason"
Return values
void

send()

Pushes a packet into the channel to be processed.

public send(string $payload, bool $immediate) : void
Parameters
$payload : string
$immediate : bool
Return values
void

Search results