Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function encodeSetupFrame
import { encodeSetupFrame } from "https://deno.land/x/rsocket@0.3.0/rsocket/frame/frame.ts";

Parameters

keepaliveInterval: number
maxLifetime: number
metadataMimeType: string
dataMimeType: string
optional
setupPayload: Payload

Returns

Uint8Array