method Dialect.commandRequest
Dialect.commandRequest(
baseUrl: string,
envelope: Envelope,
): Request

Builds a command request for one batch's envelope.

Parameters

baseUrl: string

Base URL of the router

envelope: Envelope

Encrypted command envelope

Session material from authentication

Return Type

Command request

Usage

import { type Dialect } from "mod.ts";