mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
3.3 KiB
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: 610910,
uri: "https://dearest-custom.net",
local: true,
relay: true,
iPv6: true,
};
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 |