NPM Package
Socket-Link π is the Remote.It NodeJS package for creating fast secure remote connections in your application or workflow.
Getting Started
Client Sample
import { SocketLink } from '@remote.it/socket-link'
// Create a new client
const socketLink = new SocketLink()
// Establish the connection
const proxy = await socketLink.connect('MNETSJSW')
// The address can not be used in your application
const address = proxy.address
// ...
// Close the connection
await proxy.close()Service Authentication
Service Keys
Account Authentication
User Access Key and Secret
Connection Target
Device installation
Jump Installation
CLI
Commands
api
apiAPI
SocketLink Constructor
SocketLink Class Methods
debug
debugrouter
routerresolve(name: string): string
resolve(name: string): stringapi(query: string, variables?: any): Promise<any>
api(query: string, variables?: any): Promise<any>connect(target: string, options?: Partial<ProxyOptions>): Promise<Proxy>
connect(target: string, options?: Partial<ProxyOptions>): Promise<Proxy>register(options?: Partial<ServiceOptions>): Promise<Service>
register(options?: Partial<ServiceOptions>): Promise<Service>getSignature(): Promise<SigningKey | undefined>
getSignature(): Promise<SigningKey | undefined>Last updated
Was this helpful?

