new Endpoint(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
object | All the necessary connection options. Must include the url of the endpoint. If the protocol is grpcs then it must also include the pem certificate for the TLS connection. |
Methods
-
isTLS()
-
Determine whether or not this endpoint uses TLS.
Returns:
True if this endpoint uses TLS, false otherwise.- Type
- boolean