Skip to content

Commit 934eb33

Browse files
ElviraMustafinavnikolova
authored andcommitted
review
1 parent 0ced0cf commit 934eb33

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

topics/Whats-new-in-Ktor-3-2-0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,13 @@ val rawAddress = address.resolveAddress()
170170
```
171171

172172
It returns the resolved IP address as a `ByteArray`, or `null` if the address cannot be resolved.
173+
The size of the returned `ByteArray` depends on the IP version: it will contain 4 bytes for IPv4 addresses and
174+
16 bytes for IPv6 addresses.
173175
On JS and Wasm platforms, `resolveAddress()` will always return `null`.
174176

175177
## Gradle plugin
176178

177-
### Enabling development mode via the command line
179+
### Enabling development mode
178180

179181
Ktor 3.2.0 simplifies enabling development mode. Previously, enabling development mode required explicit
180182
configuration in the `application` block. Now, you can use the `ktor.development` property to enable it,

0 commit comments

Comments
 (0)