\Phergie\Irc\Client\ReactReadStream

Stream that extracts IRC messages from data piped to it and emits them as 'irc' events.

Summary

Methods
Properties
Constants
write()
end()
isWritable()
close()
setParser()
getParser()
No public properties found
No constants found
No protected methods found
$closed
$parser
$tail
N/A
No private methods found
No private properties found
N/A

Properties

$closed

$closed

$tail

$tail : string

Partial message from the last read

Type

string

Methods

write()

write(string $data)

Parses messages from data piped to this stream and emits them as events.

Parameters

string $data

end()

end( $data)

Parameters

$data

isWritable()

isWritable()

close()

close()

setParser()

setParser(\Phergie\Irc\ParserInterface $parser)

Sets the IRC message parser in use.

Parameters

\Phergie\Irc\ParserInterface $parser