com.github.alexdlaird.ngrok.protocol.Proto Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2021-2024 Alex Laird
*
* SPDX-License-Identifier: MIT
*/
package com.github.alexdlaird.ngrok.protocol;
import com.google.gson.annotations.SerializedName;
/**
* An enum representing ngrok
's valid protos, as defined in ngrok
's docs.
*/
public enum Proto {
@SerializedName("http")
HTTP,
@SerializedName("tcp")
TCP,
@SerializedName("tls")
TLS;
@Override
public String toString() {
return name().toLowerCase();
}
}