io.javalin.websocket.MessageHandler Maven / Gradle / Ivy
The newest version!
/*
* Javalin - https://javalin.io
* Copyright 2017 David Åse
* Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
*/
package io.javalin.websocket;
import org.jetbrains.annotations.NotNull;
@FunctionalInterface
public interface MessageHandler {
void handle(@NotNull WsSession session, @NotNull String msg) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy