toMultiBulk

Take an array of (w|d)string arguments and concat them to a single Multibulk

  1. auto toMultiBulk(const C[] command, T[][] args)
    @trusted
    toMultiBulk
    (
    C
    T
    )
    (
    const C[] command
    ,
    T[][] args
    )
    if (
    isSomeChar!C &&
    isSomeChar!T
    )
  2. auto toMultiBulk(const C[] command, T args)
  3. auto toMultiBulk(const C[][] commands)
  4. auto toMultiBulk(const C[] command)

Examples

toMultiBulk("SADD", ["fruits", "apple", "banana"]) == toMultiBulk("SADD fruits apple banana")

Meta