Class EchoServer

java.lang.Object
net.luminis.quic.sample.echo.EchoServer

public class EchoServer extends Object
A sample server that runs a very simple echo protocol on top of QUIC. The echo protocol is a request-response protocol, where the client sends one request on a new stream and the server responds by echoing the data from the request in a response on the same stream. After sending the response, the stream is closed. The server's main method requires three arguments: - certificate file (can be self-signed) - key file with the private key of the certificate - port number
  • Constructor Details

    • EchoServer

      public EchoServer()
  • Method Details