0

In Netty in Action, I read about EmbeddedChannel which can be used for unit testing.

My use case now goes beyond unit testing, and more of integration testing. I want to be able to start the server and then, and within the test, configure/modify the channel handlers.

How is such an integration test setup possible in Netty 4?

4

1 回答 1

0

我不确定你在这里问的到底是什么......当然你可以通过引导它来正常启动一个 Netty 服务器,然后使用channel.pipeline()....

于 2021-02-11T18:52:21.463 回答