Skip to content

five-on-it / packages/protocol/src/messages / LEVELS_BY_HASH

Variable: LEVELS_BY_HASH ​

const LEVELS_BY_HASH: object

Defined in: packages/protocol/src/messages.ts:349

The query parameter a client connects with when it would rather fetch a big level by its hash than receive it in the welcome (?levels=hash); a client that does not ask (an older one, a bot, the stack's smoke) gets it inline.

Type Declaration ​

param ​

readonly param: "levels" = 'levels'

value ​

readonly value: "hash" = 'hash'