interface RibbonOptions {
    codec: Codec;
    logging: LoggingLevel;
    spooling: boolean;
    verbose: boolean;
}

Properties

codec: Codec

The type of websocket encoder to use. json, candor, or teto is recommended. json only works if the JSON protocol is enabled on your account. You must request it to be enabled before use or your account will be banned when Triangle tries to connect.

"teto"
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
verbose: boolean
  • use logging Enables logging
false