Options
All
  • Public
  • Public/Protected
  • All
Menu

telnet-rxjs

Index

Type aliases

ProtocolType

ProtocolType: "telnet:" | "telnets:"

Functions

createClient

  • createClient(hostUrl: string, options?: any): Connection
  • A factory method for creating a telnet connection to a remote server. TLS servers are supported by using a protocol of telnets:

    Parameters

    • hostUrl: string

      the url of the host to connect to

    • Default value options: any = {}

    Returns Connection

    the client connection

createServer

  • createServer(hostUrl: string | number, options?: any): Server
  • A factory method for creating a server. TLS servers are supported by using a protocol of telnets: At a minimum, the port must be supplied.

    Parameters

    • hostUrl: string | number

      the url of the server that is being created

    • Default value options: any = {}

    Returns Server

    the server object

Generated using TypeDoc