Setting up a Gradle Build Basic Kotlin build.gradle file (without Ktor) Add Ktor dependencies and configure build settings Choose your engine and configure it Final build.gradle...
Advanced Components for More Rapid Development 适用快速开发的高级组件 Codec 框架 SSL / TLS 支持 HTTP 实现 WebSockets 实现 Google Protocol Buffer 整合 Advanced Components for More Rapid Developm...
Before Getting Started 开始之前 Before Getting Started 开始之前 在运行本章示例之前,需要准备:最新版的 Netty 以及 JDK 1.6 或以上版本。最新版的 Netty 在这下载 。自行下载 JDK。 阅读本章节过程中,你可能会对相关类有疑惑,关于这些类的详细的信息请请参考 API 说明文档。为了方便...
1.2 Upgrading to Micronaut 2.x New Group IDs Mandatory upgrade for Netty tcnative Other Breaking Changes 1.2 Upgrading to Micronaut 2.x This section covers the steps require...
6.27.1 Configuring Server Thread Pools Blocking Operations 6.27.1 Configuring Server Thread Pools The HTTP server is built on Netty which is designed as a non-blocking I/O to...
6.27.1 Configuring Server Thread Pools Blocking Operations 6.27.1 Configuring Server Thread Pools The HTTP server is built on Netty which is designed as a non-blocking I/O to...
6.25 HTTP/2 Support Configuring the Server for HTTP/2 HTTP/2 Clients 6.25 HTTP/2 Support Since Micronaut 2.x, Micronaut’s Netty-based HTTP server can be configured to support...
6 The HTTP Server 6 The HTTP Server Using the CLI If you are creating your project using the Micronaut CLI’s create-app command, the http-server dependency is included by d...