isClient property

bool isClient
final

Whether this end opened the connection.

Decides who speaks first. The client writes its preface at once and sends frames right behind it. The server writes nothing until the client's preface has arrived, then answers with the same version, so a server that still speaks an older version can serve an older client.

Implementation

final bool isClient;