Skip to content

[Help wanted] - First time ElysiaJS and WebSocket user #1090

Closed Answered by Its4Nik
Its4Nik asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah so this is what i did now and it works!

import type { StatusMap } from "elysia";
import { Elysia } from "elysia";
import type { HTTPHeaders } from "elysia/dist/types";
import { dbFunctions } from "~/core/database/repository";
import { getDockerClient } from "~/core/docker/client";
import {
  calculateCpuPercent,
  calculateMemoryUsage,
} from "~/core/utils/calculations";
import { logger } from "~/core/utils/logger";
import { responseHandler } from "~/core/utils/respone-handler";
import type { DockerHost } from "~/typings/docker";
import split2 from "split2";
import type { Readable } from "stream";
import type internal from "stream";
import type { streams } from "~/typings/websocket";

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Its4Nik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant