merge method

PeerOptions merge(
  1. PeerOptions options
)

Implementation

PeerOptions merge(PeerOptions options) => PeerOptions(
    debug: options.debug ?? debug,
    host: options.host ?? host,
    port: options.port ?? port,
    path: options.path ?? path,
    key: options.key ?? key,
    token: options.token ?? token,
    secure: options.secure,
    pingInterval: options.pingInterval ?? pingInterval,
    logFunction: options.logFunction ?? logFunction,
    config: options.config ?? config);