interface RibbonOptions {
    logging: LoggingLevel;
    spooling: boolean;
    transport: "binary" | "json";
    verbose: boolean;
}

Properties

logging: LoggingLevel

The target level of Ribbon terminal log output. none = no logs error = only errors all = all logs

spooling: boolean

Whether or not connect to a spool (when off, the client will connect directly to tetr.io). It is highly recommended to leave this on.

true
transport: "binary" | "json"

The type of websocket transport to use. binary is recommended and significantly faster.

"binary"
verbose: boolean
  • use logging Enables logging
false