Package com.ngrok
Interface Connection.Edge
-
- All Superinterfaces:
AutoCloseable
,Connection
- Enclosing interface:
- Connection
public static interface Connection.Edge extends Connection
Represents a connection established over an edge listener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ngrok.Connection
Connection.Edge, Connection.Endpoint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getEdgeType()
Returns the edge type for this connection.boolean
isPassthroughTls()
Returns if this connection is passthrough TLS connection-
Methods inherited from interface com.ngrok.Connection
close, getRemoteAddr, inetAddress, read, write
-
-
-
-
Method Detail
-
getEdgeType
String getEdgeType()
Returns the edge type for this connection.- Returns:
- the edge type, for example
https
ortcp
-
isPassthroughTls
boolean isPassthroughTls()
Returns if this connection is passthrough TLS connection- Returns:
- true if passthrough TLS, false otherwise
-
-