Function WebSocketServer.hasPeer

Returns true if a peer with the given ID is connected.

bool hasPeer (
  const(long) id
) nothrow @nogc const;