UNPKG

@iota-pico/core

Version:
33 lines (32 loc) 729 B
import { NetworkProtocol } from "./networkProtocol"; /** * Represents the configuration for a network endpoint. * @interface */ export interface INetworkEndPoint { /** * The protocol to access the endpoint with. * @returns The protocol. */ getProtocol(): NetworkProtocol; /** * The host name or ip of the endpoint. * @returns The host. */ getHost(): string; /** * The port of the endpoint. * @returns The port. */ getPort(): number; /** * The path to the endpoint. * @returns The path. */ getRootPath(): string; /** * The complete uri. * @returns The uri. */ getUri(): string; }