Session

:= {  }

GENERATED FILE: do not edit directly; regenerate with scripts/command-catalog.roc generate. Binary-safe Redis OSS 8.10.1 Session command constructors.

Scalar wire arguments are List(U8). Required variadic arguments use a first value plus a remaining list, so an empty required collection is unrepresentable. Count prefixes are derived automatically. Parameters beginning with options are deliberately raw token lists for grammars whose combinations Redis validates; they are inserted verbatim and may be empty. A { first, rest } record is a non-empty raw token sequence for a required grammar choice; Redis validates the sequence when it executes the command. Commands that change protocol, suppress replies, or close the socket are encoding-only here; Execute.request! assumes one RESP2 reply and a reusable connection.

auth : List(List(U8)), List(U8) -> Command

Construct AUTH. Available since Redis 1.0.0. Official Redis command documentation. Parameters (in order): options_before_password, password. Parameters beginning with options are unvalidated wire arguments in the documented syntax position.