Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pita_api/mod.ts>Redpitaya#connection

API for Pita projects, simpliest way to develop secure and powerful webapps for redpitaya.
Latest
method Redpitaya.prototype.connection
import { Redpitaya } from "https://deno.land/x/pita_api@0.9.1/mod.ts";

Exchange messages with Redpitaya. Send and recieve signals and parameters from Redpitaya backend.

Type Parameters

T extends "signals" | "parameters"
K extends Exclude<MessageId, ConfigId>

Parameters

type: T

Messages type.

key: K

Message id is JSON key used for coupling message data between frontend and backend.