interface RibbonOptions {
    codec: Codec;
    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"
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

Enables logging

false