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

Builds the login request. Owns where the envelope rides — query string, request body, or anywhere else the firmware expects it.

Parameters

baseUrl: string

Base URL of the router

envelope: Envelope

Encrypted login envelope

Return Type

Login request

Usage

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