Files
plexjs/docs/sdk/models/operations/connections.md

3.3 KiB

Connections

Example Usage

import { Connections, Protocol } from "@lukehagar/plexjs/sdk/models/operations";

let value: Connections = {
  protocol: Protocol.Http,
  address: "84577 W 9th Street",
  port: 40036,
  uri: "https://dearest-custom.net",
  local: false,
  relay: false,
  iPv6: false,
};

Fields

Field Type Required Description Example
protocol operations.Protocol ✔️ The protocol used for the connection (http, https, etc) http
address string ✔️ The (ip) address or domain name used for the connection
port number ✔️ The port used for the connection
uri string ✔️ The full URI of the connection
local boolean ✔️ If the connection is local address
relay boolean ✔️ If the connection is relayed through plex.direct
iPv6 boolean ✔️ If the connection is using IPv6