import { Core } from "https://deno.land/x/lucid@0.5.2/mod.ts";
const { Relay } = Core;
Methods
as_multi_host_name(): MultiHostName | undefined
as_single_host_addr(): SingleHostAddr | undefined
as_single_host_name(): SingleHostName | undefined
free(): void
kind(): number
to_bytes(): Uint8Array
to_json(): string
Static Methods
from_bytes(bytes: Uint8Array): Relay
new_multi_host_name(multi_host_name: MultiHostName): Relay
new_single_host_addr(single_host_addr: SingleHostAddr): Relay
new_single_host_name(single_host_name: SingleHostName): Relay