method IRuntimeServices.hostname
IRuntimeServices.hostname(): string

Returns the host name, when the runtime exposes one.

Return Type

string

The host name

Usage

import { type IRuntimeServices } from "common/src/index.ts";