Skip to content

pass param to the connection #28

@erichuang2015

Description

@erichuang2015

Hello

I would like to use this lib to query domain whois server , for examle the whois.nic.cx with port 43

$connector->connect('whois.nic.cx:43')->then(function (ConnectionInterface $stream) {
$stream->on('data', function ($chunk) {
echo $chunk;
});
}, 'printf');

how can I pass domain name to this connection and get whois data back ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions