Package com.ngrok
Interface Connection.Endpoint
-
- All Superinterfaces:
AutoCloseable
,Connection
- Enclosing interface:
- Connection
public static interface Connection.Endpoint extends Connection
Represents a connection establish over an endpoint 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
getProto()
Returns the protocol of this connection.-
Methods inherited from interface com.ngrok.Connection
close, getRemoteAddr, inetAddress, read, write
-
-
-
-
Method Detail
-
getProto
String getProto()
Returns the protocol of this connection.- Returns:
- the protocol, for example
http
ortcp
-
-