6.27 Configuring the HTTP Server Using Native Transports 6.27 Configuring the HTTP Server The HTTP server features a number of configuration options you may wish to tweak. The...
Configuring the Transport Acceptors Connectors Configuring the Transport Directly from the Client Configuring the Netty transport Single Port Support Configuring Netty TCP Con...
Configuring the Transport Acceptors Connectors Configuring the Transport Directly from the Client Configuring the Netty transport Single Port Support Configuring Netty TCP Con...
Gradle note Basic Kotlin build.gradle file (without Ktor) Add Ktor dependencies and configure build settings note Choose your engine and configure it Final build.gradle (with...
Writing a Discard Server 写个抛弃服务器 Writing a Discard Server 写个抛弃服务器 世上最简单的协议不是’Hello, World!’ 而是 DISCARD(抛弃服务) 。这个协议将会抛弃任何收到的数据,而不响应。 为了实现 DISCARD 协议,你只需忽略所有收到的数据。让我们从 handler (处...
1. Acceptors 2. Connectors 3. Configuring the Transport Directly from the Client 4. Configuring the Netty transport 4.1. Single Port Support 4.2. Configuring Netty TCP 4.3. Co...