class Ngrok extends AnyRef
Main entry point for the ngrok API.
- Alphabetic
- By Inheritance
- Ngrok
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- class BackendsNamespace extends AnyRef
A namespace object for Backends.
- class EdgeModulesNamespace extends AnyRef
A namespace object for EdgeModules.
- class EdgesNamespace extends AnyRef
A namespace object for Edges.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Ngrok, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val abuseReports: AbuseReports
Abuse Reports allow you to submit take-down requests for URLs hosted by ngrok that violate ngrok's terms of service.
Abuse Reports allow you to submit take-down requests for URLs hosted by ngrok that violate ngrok's terms of service.
- returns
a service client
- lazy val agentIngresses: AgentIngresses
Creates a service client for AgentIngresses.
Creates a service client for AgentIngresses.
- returns
a service client
- lazy val apiKeys: ApiKeys
API Keys are used to authenticate to the <a href="https://ngrok.com/docs/api#authentication">ngrok API.
API Keys are used to authenticate to the <a href="https://ngrok.com/docs/api#authentication">ngrok API. You may use the API itself to provision and manage API Keys but you'll need to provision your first API key from the API Keys page on your ngrok.com dashboard.
See also https://ngrok.com/docs/api#api-api-keys.
- returns
a service client
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val backends: BackendsNamespace
Creates a namespace object for Backends.
Creates a namespace object for Backends.
- returns
a namespace object
- lazy val certificateAuthorities: CertificateAuthorities
Certificate Authorities are x509 certificates that are used to sign other x509 certificates.
Certificate Authorities are x509 certificates that are used to sign other x509 certificates. Attach a Certificate Authority to the Mutual TLS module to verify that the TLS certificate presented by a client has been signed by this CA. Certificate Authorities are used only for mTLS validation only and thus a private key is not included in the resource.
See also https://ngrok.com/docs/api#api-certificate-authorities.
- returns
a service client
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val credentials: Credentials
Tunnel Credentials are ngrok agent authtokens.
Tunnel Credentials are ngrok agent authtokens. They authorize the ngrok agent to connect the ngrok service as your account. They are installed with the
ngrok config add-authtokencommand or by specifying it in thengrok.ymlconfiguration file with theauthtokenproperty.- returns
a service client
- lazy val edgeModules: EdgeModulesNamespace
Creates a namespace object for EdgeModules.
Creates a namespace object for EdgeModules.
- returns
a namespace object
- lazy val edges: EdgesNamespace
Creates a namespace object for Edges.
Creates a namespace object for Edges.
- returns
a namespace object
- lazy val endpoints: Endpoints
Endpoints provides an API for querying the endpoint objects which define what tunnel or edge is used to serve a hostport.
Endpoints provides an API for querying the endpoint objects which define what tunnel or edge is used to serve a hostport. Only active endpoints associated with a tunnel or backend are returned.
See also https://ngrok.com/docs/api#api-endpoints.
- returns
a service client
- def ensuring(cond: (Ngrok) => Boolean, msg: => Any): Ngrok
- def ensuring(cond: (Ngrok) => Boolean): Ngrok
- def ensuring(cond: Boolean, msg: => Any): Ngrok
- def ensuring(cond: Boolean): Ngrok
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val eventDestinations: EventDestinations
Creates a service client for EventDestinations.
Creates a service client for EventDestinations.
- returns
a service client
- lazy val eventSources: EventSources
Creates a service client for EventSources.
Creates a service client for EventSources.
- returns
a service client
- lazy val eventSubscriptions: EventSubscriptions
Creates a service client for EventSubscriptions.
Creates a service client for EventSubscriptions.
See also https://ngrok.com/docs/api#api-event-subscriptions.
- returns
a service client
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- lazy val ipPolicies: IpPolicies
IP Policies are reusable groups of CIDR ranges with an
allowordenyaction.IP Policies are reusable groups of CIDR ranges with an
allowordenyaction. They can be attached to endpoints via the Endpoint Configuration IP Policy module. They can also be used with IP Restrictions to control source IP ranges that can start tunnel sessions and connect to the API and dashboard.- returns
a service client
- lazy val ipPolicyRules: IpPolicyRules
IP Policy Rules are the IPv4 or IPv6 CIDRs entries that make up an IP Policy.
IP Policy Rules are the IPv4 or IPv6 CIDRs entries that make up an IP Policy.
- returns
a service client
- lazy val ipRestrictions: IpRestrictions
An IP restriction is a restriction placed on the CIDRs that are allowed to initiate traffic to a specific aspect of your ngrok account.
An IP restriction is a restriction placed on the CIDRs that are allowed to initiate traffic to a specific aspect of your ngrok account. An IP restriction has a type which defines the ingress it applies to. IP restrictions can be used to enforce the source IPs that can make API requests, log in to the dashboard, start ngrok agents, and connect to your public-facing endpoints.
- returns
a service client
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val reservedAddrs: ReservedAddrs
Reserved Addresses are TCP addresses that can be used to listen for traffic.
Reserved Addresses are TCP addresses that can be used to listen for traffic. TCP address hostnames and ports are assigned by ngrok, they cannot be chosen.
- returns
a service client
- lazy val reservedDomains: ReservedDomains
Reserved Domains are hostnames that you can listen for traffic on.
Reserved Domains are hostnames that you can listen for traffic on. Domains can be used to listen for http, https or tls traffic. You may use a domain that you own by creating a CNAME record specified in the returned resource. This CNAME record points traffic for that domain to ngrok's edge servers.
- returns
a service client
- lazy val sshCertificateAuthorities: SshCertificateAuthorities
An SSH Certificate Authority is a pair of an SSH Certificate and its private key that can be used to sign other SSH host and user certificates.
An SSH Certificate Authority is a pair of an SSH Certificate and its private key that can be used to sign other SSH host and user certificates.
See also https://ngrok.com/docs/api#api-ssh-certificate-authorities.
- returns
a service client
- lazy val sshCredentials: SshCredentials
SSH Credentials are SSH public keys that can be used to start SSH tunnels via the ngrok SSH tunnel gateway.
SSH Credentials are SSH public keys that can be used to start SSH tunnels via the ngrok SSH tunnel gateway.
- returns
a service client
- lazy val sshHostCertificates: SshHostCertificates
SSH Host Certificates along with the corresponding private key allows an SSH server to assert its authenticity to connecting SSH clients who trust the SSH Certificate Authority that was used to sign the certificate.
SSH Host Certificates along with the corresponding private key allows an SSH server to assert its authenticity to connecting SSH clients who trust the SSH Certificate Authority that was used to sign the certificate.
See also https://ngrok.com/docs/api#api-ssh-host-certificates.
- returns
a service client
- lazy val sshUserCertificates: SshUserCertificates
SSH User Certificates are presented by SSH clients when connecting to an SSH server to authenticate their connection.
SSH User Certificates are presented by SSH clients when connecting to an SSH server to authenticate their connection. The SSH server must trust the SSH Certificate Authority used to sign the certificate.
See also https://ngrok.com/docs/api#api-ssh-user-certificates.
- returns
a service client
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val tlsCertificates: TlsCertificates
TLS Certificates are pairs of x509 certificates and their matching private key that can be used to terminate TLS traffic.
TLS Certificates are pairs of x509 certificates and their matching private key that can be used to terminate TLS traffic. TLS certificates are unused until they are attached to a Domain. TLS Certificates may also be provisioned by ngrok automatically for domains on which you have enabled automated certificate provisioning.
- returns
a service client
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val tunnelSessions: TunnelSessions
Tunnel Sessions represent instances of ngrok agents or SSH reverse tunnel sessions that are running and connected to the ngrok service.
Tunnel Sessions represent instances of ngrok agents or SSH reverse tunnel sessions that are running and connected to the ngrok service. Each tunnel session can include one or more Tunnels.
- returns
a service client
- lazy val tunnels: Tunnels
Tunnels provide endpoints to access services exposed by a running ngrok agent tunnel session or an SSH reverse tunnel session.
Tunnels provide endpoints to access services exposed by a running ngrok agent tunnel session or an SSH reverse tunnel session.
See also https://ngrok.com/docs/api#api-tunnels.
- returns
a service client
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Ngrok toStringFormat[Ngrok] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Ngrok, B)
- Implicit
- This member is added by an implicit conversion from Ngrok toArrowAssoc[Ngrok] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.