mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-06-07 05:05:33 +02:00
15 lines
483 B
Java
15 lines
483 B
Java
package gearth.protocol.connection.proxy.nitro.http;
|
|
|
|
public interface NitroHttpProxyServerCallback {
|
|
|
|
/**
|
|
* Specify a replacement for the given websocket url.
|
|
*
|
|
* @param configUrl The url at which the websocket url was found.
|
|
* @param websocketUrl The hotel websocket url.
|
|
* @return Return null to not replace anything, otherwise specify an alternative websocket url.
|
|
*/
|
|
String replaceWebsocketServer(String configUrl, String websocketUrl);
|
|
|
|
}
|